Template:AttackData-PJ: Difference between revisions

Template page
No edit summary
m (Typo)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
|- style="line-height:1em"
{{#if: {{{version|}}} | ! style="min-width:70px;" rowspan=4 {{!}} {{{version}}}{{#if: {{{subtitle|}}} | <br><small>{{{subtitle}}}</small> }} }}
! colspan=2 | {{Tooltip | text=Damage  | hovertext=Base damage done by this attack.&#010;(X).}}
! style="width:16.6%" | {{Tooltip | text=Startup  | hovertext=The number of frames that initiate at the beginning of an attack after the input.&#010;and when the first hitbox is present.}}
! style="width:16.6%" | {{Tooltip | text=Active    | hovertext=The amount of frames that this move will have a hitbox.}}
! style="width:16.6%"| {{Tooltip | text=Recovery  | hovertext=The number of frames after the attack has finished.&#010;and the character is disallowed to do another action as they are returning to neutral stance.}}
|-
| colspan=2 | {{#if:{{{Damage|}}}|{{{Damage|}}}|-}}
| {{#if:{{{Startup|}}}|{{{Startup|}}}|-}}
| {{#if:{{{Active|}}}|{{{Active|}}}|-}}
| {{#if:{{{Recovery|}}}|{{{Recovery|}}}|-}}
|- style="line-height:1em"
! style="width:16.7%" | {{Tooltip | text=Guard      | hovertext=The way this move must be blocked.}}
! style="width:16.6%" | {{Tooltip | text=Special Property | hovertext=Denotes whether the attack produces a Blowback, Slam, or other special property.}}
! style="width:16.6%" | {{Tooltip | text=Launcher Type    | hovertext=Denotes if a the attack will initiate a Rival or Mini Launcher.}}
! style="width:16.6%"| {{Tooltip | text=Adv. Hit | hovertext=The difference in the number of frames between when both characters will return to neutral stance after an attack has successfully hit.}}
! style="width:16.6%"| {{Tooltip | text=Adv. Guard  | hovertext=The difference in the number of frames between when both characters will return to neutral stance after an attack has successfully been blocked.}}
|-
| {{#if:{{{Guard|}}}|{{{Guard|}}}|-}}
| {{#if:{{{Special Property|}}}|{{{Special Property|}}}|-}}
| {{#if:{{{Launcher Type|}}}|{{{Launcher Type|}}}|-}}
| {{#if:{{{Adv. Hit|}}}|{{{Adv. Hit|}}}|-}}
| {{#if:{{{Adv. Guard|}}}|{{{Adv. Guard|}}}|-}}
|-
{{#if: {{{Description|}}} | {{!}} style="width:100%; text-align:left"  colspan={{#if: {{{version|}}} | 7 | 6 }} {{!}}
{{{Description}}} }}
{{!}}- }}
<noinclude>
==Usage==
Replacing [[Template:PJMoveListRow]]. This AttackData template uses the newer format with added tooltips by [[User:Bee_chan| Bee]], but has been slightly tweaked to detail PJ-specific mechanics. Previous PJ AttackData work by Jota is below the fold, for reference/preservation!
==Example:==
<nowiki>{{MoveData
|image=PJ_batsu_5lp.png
|caption=Captioning Batsus Jab
|name= Standing Light  Punch
|input=5{{lp}}
|data=
{{AttackData-PJ
|Damage=4
|Guard=Mid
|Startup=8
|Recovery=20
|Adv. Hit=+1
|Adv. Guard=+4
|Launcher Type=None
|Special Property=None
|Description= A basic Jab
}}
}}</nowiki>
===Result:===
{{MoveData
|image=PJ_batsu_5lp.png
|caption=Captioning Batsus Jab
|name= Standing Light  Punch
|input=5{{lp}}
|data=
{{AttackData-PJ
|Damage=4
|Guard=Mid
|Startup=8
|Recovery=20
|Adv. Hit=+1
|Adv. Guard=+4
|Launcher Type=None
|Special Property=None
|Description= A basic Jab
}}
}}
</noinclude>
<noinclude>
----
<span style="font-size:1.4em; text-align:center; text-decoration: underline;">Preserving the work previously done by Jotamide for PJ here!</span>
<div class="mw-collapsible-content srkbox" style="padding: 30px;">
<div class="toccolours mw-collapsible mw-collapsed">
{{#ifeq:{{{header|yes}}}|yes|<!--
{{#ifeq:{{{header|yes}}}|yes|<!--
-->{{#if:{{{version|}}}|! Version }}
-->{{#if:{{{version|}}}|! Version }}
Line 26: Line 105:
{{{description|}}}
{{{description|}}}
</div>
</div>
{{!}}- }}<noinclude>
{{!}}- }}
==Usage==
==Usage==
For [[Project Justice]] movelists, replaces [[Template:PJMoveListRow]].
For [[Project Justice]] movelists, replaces [[Template:PJMoveListRow]].


==Examples==
==Examples==
===Source Code Example 1:===
===Source Code Example 1 (Akira's Crouching Strong Punch)===
  <nowiki>{{MoveData
  <nowiki>{{MoveData
| name    = Crouching Strong Punch  
| name    = Crouching Strong Punch  
Line 57: Line 136:
| input    = d.HP   
| input    = d.HP   
| subtitle = {{Motion|d}}{{Icon-PJ|HP}}
| subtitle = {{Motion|d}}{{Icon-PJ|HP}}
| image    = PJ_Akira_dHP.png
| image    =  
| caption  = Placeholder caption
| caption  = Placeholder caption
| linkname = 2HP
| linkname = 2HP
Line 72: Line 151:
  }}
  }}
}}
}}
[[Category:Project_Justice]]</noinclude>
 
</div>
</div>
</noinclude>

Latest revision as of 17:24, 16 September 2021

|- style="line-height:1em"

! colspan=2 | Damage ! style="width:16.6%" | Startup ! style="width:16.6%" | Active ! style="width:16.6%"| Recovery |- | colspan=2 | - | - | - | - |- style="line-height:1em" ! style="width:16.7%" | Guard ! style="width:16.6%" | Special Property ! style="width:16.6%" | Launcher Type ! style="width:16.6%"| Adv. Hit ! style="width:16.6%"| Adv. Guard |- | - | - | - | - | - |-

|- }}

Usage

Replacing Template:PJMoveListRow. This AttackData template uses the newer format with added tooltips by Bee, but has been slightly tweaked to detail PJ-specific mechanics. Previous PJ AttackData work by Jota is below the fold, for reference/preservation!

Example:

{{MoveData
|image=PJ_batsu_5lp.png
|caption=Captioning Batsus Jab
|name= Standing Light  Punch
|input=5{{lp}}
|data=
{{AttackData-PJ
|Damage=4
|Guard=Mid
|Startup=8
|Recovery=20
|Adv. Hit=+1
|Adv. Guard=+4
|Launcher Type=None
|Special Property=None
|Description= A basic Jab
}}
}}

Result:

Standing Light Punch
5Lp.png
PJ batsu 5lp.png
Captioning Batsus Jab
Damage Startup Active Recovery
4 8 - 20
Guard Special Property Launcher Type Adv. Hit Adv. Guard
Mid None None +1 +4

A basic Jab



Preserving the work previously done by Jotamide for PJ here!

! height="25px" | Damage ! Startup ! Active ! Recovery ! Hit Adv ! Block Adv ! Guard |-

| height="25px"| - | - | - | - | - | - | - |-

Usage

For Project Justice movelists, replaces Template:PJMoveListRow.

Examples

Source Code Example 1 (Akira's Crouching Strong Punch)

{{MoveData
| name     = Crouching Strong Punch 
| input    = d.HP  
| subtitle = {{Motion|d}}{{Icon-PJ|HP}}
| image    = PJ_Akira_dHP.png
| caption  = Placeholder caption
| linkname = 2HP
| data  = 
 {{AttackData-PJ
  | damage      = 11
  | startup     = 15
  | active      = 
  | recovery    = 37
  | hitAdv      = 
  | blockAdv    = -15
  | guard       = All
  | description = Mini Launcher.
 }}
}}

Output 1:

Crouching Strong Punch
D.pngPJ HP.png
d.HP
Damage Startup Active Recovery
- - - -
Guard Special Property Launcher Type Adv. Hit Adv. Guard
- - - - -