Template:MoveData2/doc: Difference between revisions

Template page
Line 57: Line 57:
{| class="wikitable"
{| class="wikitable"
! Parameter !! Description
! Parameter !! Description
|-
| <code>moveNo<code>
|
|-
|-
| <code>id</code>
| <code>id</code>
Line 81: Line 84:
| <code>damage</code>
| <code>damage</code>
| The damage of the move, not including previous moves in the string. Start with a comma if there were previous moves.
| The damage of the move, not including previous moves in the string. Start with a comma if there were previous moves.
|-
| <code>range</code>
| The range of the move, as per [[Movelist#Range]].
|-
| <code>tracksLeft</code>
| The tracking score, as per [[Tracking#Measurement]], to the attacker's left (i.e. opponent steps right).
|-
| <code>tracksRight</code>
| The tracking score, as per [[Tracking#Measurement]], to the attacker's right (i.e. opponent steps left).
|-
|-
| <code>startupRoot</code>
| <code>startupRoot</code>
Line 96: Line 90:
| <code>startup</code>
| <code>startup</code>
| The startup of the move, not including previous moves in the string. Start with a comma if there were previous moves. Leave blank if you don't want to measure it.  
| The startup of the move, not including previous moves in the string. Start with a comma if there were previous moves. Leave blank if you don't want to measure it.  
|-
| <code>crush</code>
| The frames where this move will crush, powercrush, or parry.
|-
| <code>recv</code>
| The number of frames the move takes to recover, starting with an r. Indicate the state after recovery if the move doesn't recover standing.
|-
|-
| <code>block</code>
| <code>block</code>
Line 111: Line 99:
| <code>ch</code>
| <code>ch</code>
| The frame advantage on counter-hit. Leave blank if the same as on hit.
| The frame advantage on counter-hit. Leave blank if the same as on hit.
|-
| <code>tracksLeft</code>
| The tracking score, as per [[Tracking#Measurement]], to the attacker's left (i.e. opponent steps right).
|-
| <code>tracksRight</code>
| The tracking score, as per [[Tracking#Measurement]], to the attacker's right (i.e. opponent steps left).
|-
| <code>range</code>
| The range of the move, as per [[Movelist#Range]].
|-
| <code>recv</code>
| The number of frames the move takes to recover, starting with an r. Indicate the state after recovery if the move doesn't recover standing.
|-
| <code>crush</code>
| The frames where this move will crush, powercrush, or parry.
|-
|-
| <code>notes</code>
| <code>notes</code>
| Anything that doesn't fit elsewhere.
| Anything that doesn't fit elsewhere.
|-
| <code>combo<code>
| From what hit/ch does the string become guaranteed?
|-
| <code>jail<code>
| Does it [[Notation#Combo annotations|jail]] from the last hit?
|-
| <code>leeway<code>
| By how many frames can the input be delayed?
|-
| <code>delay<code>
| By how many frames can the move be delayed?
|}
|}


If the <code>name</code>, <code>startup</code> (or <code>startupRoot</code>), <code>crush</code>, or <code>notes</code> parameters have multiple values, use a Plainlist. Exception is if the <code>startup</code> is two short values and it would look better with a space instead of a line break.
If the <code>name</code>, <code>startup</code> (or <code>startupRoot</code>), or <code>crush</code> parameters have multiple values, use a comma. If the <code>notes</code> parameter has multiple lines, use a [[Template:Plainlist|Plainlist]].


<syntaxhighlight lang="html">
<syntaxhighlight lang="html">
|startup=i55 i68
|startup=i55,i68
|crush={{Plainlist|
|crush=cs25~45,js45~}}
* cs25~45
* js45~}}
|notes={{Plainlist|
|notes={{Plainlist|
* Homing
* Homing

Revision as of 07:12, 5 February 2021

This template is used to show detailed information for a single move. It's mainly used in movelists.

The first use of this on any page should include Template:MoveDataHeader2 before it.

Usage

Get familiar with the Movelist to know what appropriate values are.

{{MoveDataHeader2}} <!-- Include this at least once on every page using MoveData -->
{{MoveData2
|id=Lee-u/f+3
|input=u/f+3
|target=m
|damage=12
|range=3.09
|startup=i25~26
|crush=js12~
|recv=r27
|block=-9
|hit=+2
}}
{{MoveData2
|moveNo=72
|id=Lee-u/f+3,1
|name=Brilliant Rosé
|inputLead=u/f+3
|input=,1
|targetLead=m
|target=,m
|damageLead=12
|damage=,18
|range=4.27
|startupRoot=i25~26
|startup=,i21~22
|recv=r30 FC
|block=-12
|hit=+3
|ch=[[Lee combos#Staples|+26a]]
|combo=1.hit
|floor=F!
|notes=
}}

For frame advantages:

  • Link to the combo page if it leads to a combo (even if the page doesn't exist yet).
  • Always write +0. Do NOT use -0 or 0 without an operator.

Parameters

All parameters are blank by default and can be left blank without issue. However, every move should at least have an id and input.

Parameter Description
moveNo
id A unique id for the move. Usually equal to {{{fighterName}}}-{{{inputLead|}}}{{{input}}}.
name The name of the move, if any.
inputLead The input of the previous moves in the string, if any.
input The input of the move, not including previous moves in the string. Start with a comma if there were previous moves. Start with a : or ~ instead if that's what the notation calls for, but write the colon as &#58; or it'll break things.
targetLead The hit level of the previous moves in the string, if any.
target The hit level of the move, not including previous moves in the string. Start with a comma if there were previous moves.
damageLead The damage of the previous moves in the string, if any.
damage The damage of the move, not including previous moves in the string. Start with a comma if there were previous moves.
startupRoot The startup of the first move in the string, if this isn't the first move.
startup The startup of the move, not including previous moves in the string. Start with a comma if there were previous moves. Leave blank if you don't want to measure it.
block The frame advantage on block.
hit The frame advantage on hit.
ch The frame advantage on counter-hit. Leave blank if the same as on hit.
tracksLeft The tracking score, as per Tracking#Measurement, to the attacker's left (i.e. opponent steps right).
tracksRight The tracking score, as per Tracking#Measurement, to the attacker's right (i.e. opponent steps left).
range The range of the move, as per Movelist#Range.
recv The number of frames the move takes to recover, starting with an r. Indicate the state after recovery if the move doesn't recover standing.
crush The frames where this move will crush, powercrush, or parry.
notes Anything that doesn't fit elsewhere.
combo From what hit/ch does the string become guaranteed?
jail Does it jail from the last hit?
leeway By how many frames can the input be delayed?
delay By how many frames can the move be delayed?

If the name, startup (or startupRoot), or crush parameters have multiple values, use a comma. If the notes parameter has multiple lines, use a Plainlist.

|startup=i55,i68
|crush=cs25~45,js45~}}
|notes={{Plainlist|
* Homing
* Tailspin}}

Data entry

The simplest way to enter the data is to copy this and fill in the blanks:

{{MoveData
|id=
|name=
|inputLead=
|input=
|targetLead=
|target=
|damageLead=
|damage=
|range=
|tracksLeft=
|tracksRight=
|startupRoot=
|startup=
|crush=
|recv=
|block=
|hit=
|ch=
|notes=
}}

However, you might prefer using a spreadsheet. In that case, you can use this spreadsheet to convert to wikitext automatically. This is not recommended, but it's there if you must.

Example

u/f+3
m  |  12
i25~26
-9
+2
3.09
r27
js12~
72
Brilliant Rosé
u/f+3,​1
m,​m  |  12,​18
i25~26,​i21~22
-12
+3
4.27
r30 FC
F!
1.hit