Template:MoveData/doc: Difference between revisions

Template page
(make move ids globally unique)
Line 12: Line 12:
{{MoveDataHeader}} <!-- Include this at least once on every page using MoveData -->
{{MoveDataHeader}} <!-- Include this at least once on every page using MoveData -->
{{MoveData
{{MoveData
|id=u/f+3
|id=Lee-u/f+3
|input=u/f+3
|input=u/f+3
|target=m
|target=m
Line 26: Line 26:
}}
}}
{{MoveData
{{MoveData
|id=u/f+3,1
|id=Lee-u/f+3,1
|name=Brilliant Rosé
|name=Brilliant Rosé
|inputLead=u/f+3
|inputLead=u/f+3
Line 60: Line 60:
|-
|-
| <code>id</code>
| <code>id</code>
| A unique id for the move. Usually equal to <code><nowiki>{{{inputLead|}}}{{{input}}}</nowiki></code>.
| A unique id for the move. Usually equal to <code><nowiki>{{{fighterName}}}-{{{inputLead|}}}{{{input}}}</nowiki></code>.
|-
|-
| <code>name</code>
| <code>name</code>
Line 69: Line 69:
|-
|-
| <code>input</code>
| <code>input</code>
| The input of the move, not including previous moves in the string. Start with a comma if there were previous moves. Start with a <code>:</code> or <code>~</code> instead if that's what the notation calls for, but write the colon as <code>&amp;#58;</code> or it'll break things. -->
| The input of the move, not including previous moves in the string. Start with a comma if there were previous moves. Start with a <code>:</code> or <code>~</code> instead if that's what the notation calls for, but write the colon as <code>&amp;#58;</code> or it'll break things.
|-
|-
| <code>targetLead</code>
| <code>targetLead</code>
Line 162: Line 162:
{{MoveDataHeader}}
{{MoveDataHeader}}
{{MoveData
{{MoveData
|id=u/f+3
|id=Lee-u/f+3
|input=u/f+3
|input=u/f+3
|target=m
|target=m
Line 176: Line 176:
}}
}}
{{MoveData
{{MoveData
|id=u/f+3,1
|id=Lee-u/f+3,1
|name=Brilliant Rosé
|name=Brilliant Rosé
|inputLead=u/f+3
|inputLead=u/f+3

Revision as of 05:26, 26 January 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:MoveDataHeader before it.

Usage

Be sure to be familiar with Movelist to know what appropriate values are.

{{MoveDataHeader}} <!-- Include this at least once on every page using MoveData -->
{{MoveData
|id=Lee-u/f+3
|input=u/f+3
|target=m
|damage=12
|range=3.09
|tracksLeft=18
|tracksRight=9
|startup=i25~26
|crush=js12~
|recv=r27
|block=-9
|hit=+2
}}
{{MoveData
|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]]
|notes={{Plainlist|
* Floor break
* Combo from 1st hit}}
}}

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
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.
range The range of the move, as per Movelist#Range.
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).
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.
crush The frames where this move will crush, powercrush, or parry.
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.
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.
notes Anything that doesn't fit elsewhere.

If the name, startup (or startupRoot), crush, or notes parameters have multiple values, use a Plainlist. Exception is if the startup is two short values and it would look better with a space instead of a line break.

|startup=i55 i68
|crush={{Plainlist|
* 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

Name
Alt

Input

Hit level
Damage
Range
Left Tracking
Right Tracking
Block
Hit
CH
Startup
States
Recovery
Notes

u/f+3

m
12
3.09
18
9
-9
+2
i25~26
js12~
r27
Brilliant Rosé

u/f+3,1

m,​m
12,​18
4.27
-12
+3
i25~26
,i21~22
r30 FC
  • Floor break
  • Combo from 1st hit