Template:MoveData2/doc: Difference between revisions

Template page
No edit summary
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Note|This is an experimental template by [[User:Oldmanwang]] ([[Special:Contributions/Oldmanwang|c]]). It should not be used in the main namespace at this time.}}
{{Uses TemplateStyles|MoveData/style3.css}}
{{Uses TemplateStyles|MoveData/style3.css}}


Line 7: Line 9:
== Usage ==
== Usage ==


Be sure to be familiar with [[Movelist]] to know what appropriate values are.
Get familiar with the [[Movelist]] to know what appropriate values are.


<syntaxhighlight lang="html">
<syntaxhighlight lang="html">
{{MoveDataHeader}} <!-- Include this at least once on every page using MoveData -->
{{MoveDataHeader2}} <!-- Include this at least once on every page using MoveData -->
{{MoveData
{{MoveData2
|id=Lee-u/f+3
|id=Lee-u/f+3
|input=u/f+3
|input=u/f+3
Line 17: Line 19:
|damage=12
|damage=12
|range=3.09
|range=3.09
|tracksLeft=18
|tracksRight=9
|startup=i25~26
|startup=i25~26
|crush=js12~
|crush=js12~
Line 25: Line 25:
|hit=+2
|hit=+2
}}
}}
{{MoveData
{{MoveData2
|moveNo=72
|id=Lee-u/f+3,1
|id=Lee-u/f+3,1
|name=Brilliant Rosé
|name=Brilliant Rosé
Line 41: Line 42:
|hit=+3
|hit=+3
|ch=[[Lee combos#Staples|+26a]]
|ch=[[Lee combos#Staples|+26a]]
|notes={{Plainlist|
|combo=1.hit
* Floor break
|floor=F!
* Combo from 1st hit}}
|notes=
}}
}}
</syntaxhighlight>
</syntaxhighlight>
Line 58: Line 59:
{| class="wikitable"
{| class="wikitable"
! Parameter !! Description
! Parameter !! Description
|-
| <code>moveNo</code>
|
|-
|-
| <code>id</code>
| <code>id</code>
Line 83: Line 87:
| 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>
| <code>startupRoot</code>
| The range of the move, as per [[Movelist#Range]].
| The startup of the first move in the string, if this isn't the first move.
|-
| <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.
|-
| <code>block</code>
| The frame advantage on block.
|-
| <code>hit</code>
| The frame advantage on hit.
|-
| <code>ch</code>
| The frame advantage on counter-hit. Leave blank if the same as on hit.
|-
|-
| <code>tracksLeft</code>
| <code>tracksLeft</code>
Line 92: Line 108:
| The tracking score, as per [[Tracking#Measurement]], to the attacker's right (i.e. opponent steps left).  
| The tracking score, as per [[Tracking#Measurement]], to the attacker's right (i.e. opponent steps left).  
|-
|-
| <code>startupRoot</code>
| <code>range</code>
| The startup of the first move in the string, if this isn't the first move.
| The range of the move, as per [[Movelist#Range]].
|-
|-
| <code>startup</code>
| <code>recv</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 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>
| <code>crush</code>
| The frames where this move will crush, powercrush, or parry.
| The frames where this move will crush, powercrush, or parry.
|-
|-
| <code>recv</code>
| <code>screw</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.
| Initiates tailspin/screw.
|-
| <code>wall</code>
| Wall splats or bounds.
|-
| <code>floor</code>
| Initiates a floor break?
|-
| <code>combo</code>
| From what hit/ch does the string become guaranteed?
|-
|-
| <code>block</code>
| <code>jail</code>
| The frame advantage on block.
| [[Notation#Combo annotations|Jails]] from last hit.
|-
|-
| <code>hit</code>
| <code>leeway</code>
| The frame advantage on hit.
| Number of frames by which input can be delayed.
|-
|-
| <code>ch</code>
| <code>delay</code>
| The frame advantage on counter-hit. Leave blank if the same as on hit.
| Number of frames by which move can be delayed.
|-
|-
| <code>notes</code>
| <code>notes</code>
Line 117: Line 142:
|}
|}


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
Line 133: Line 156:
The simplest way to enter the data is to copy this and fill in the blanks:
The simplest way to enter the data is to copy this and fill in the blanks:


<syntaxhighlight lang="html">{{MoveData
:Basic entry:
<syntaxhighlight lang="html">
{{MoveData2
|moveNo=
|id=
|name=
|inputLead=
|input=
|targetLead=
|target=
|damageLead=
|damage=
|startupRoot=
|startup=
|block=
|hit=
|ch=
|notes=
}}
</syntaxhighlight>
 
:Comprehensive entry:
<syntaxhighlight lang="html">
{{MoveData2
|moveNo=
|id=
|id=
|name=
|name=
Line 142: Line 189:
|damageLead=
|damageLead=
|damage=
|damage=
|range=
|tracksLeft=
|tracksRight=
|startupRoot=
|startupRoot=
|startup=
|startup=
|crush=
|recv=
|block=
|block=
|hit=
|hit=
|ch=
|ch=
|tracksLeft=
|tracksRight=
|range=
|recv=
|crush=
|screw=
|wall=
|floor=
|combo=
|jail=
|leeway=
|delay=
|notes=
|notes=
}}
}}
</syntaxhighlight>
</syntaxhighlight>


However, you might prefer using a spreadsheet. In that case, you can use [https://docs.google.com/spreadsheets/d/1TsKSmzZSekxkxobL1RpfD4PUS-se2JsMq8ajIylDuvM/edit this spreadsheet] to convert to wikitext automatically. This is not recommended, but it's there if you must.
Note that the parameters don't have to be listed in sequence.
 
You might prefer using a spreadsheet. In that case, you can use [https://docs.google.com/spreadsheets/d/1TsKSmzZSekxkxobL1RpfD4PUS-se2JsMq8ajIylDuvM/edit this spreadsheet] to convert to wikitext automatically. This is not recommended, but it's there if you must.


== Example ==
== Example ==

Latest revision as of 06:17, 6 July 2021

This is an experimental template by User:Oldmanwang (c). It should not be used in the main namespace at this time.

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.
screw Initiates tailspin/screw.
wall Wall splats or bounds.
floor Initiates a floor break?
combo From what hit/ch does the string become guaranteed?
jail Jails from last hit.
leeway Number of frames by which input can be delayed.
delay Number of frames by which move can be delayed.
notes Anything that doesn't fit elsewhere.

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:

Basic entry:
{{MoveData2
|moveNo=
|id=
|name=
|inputLead=
|input=
|targetLead=
|target=
|damageLead=
|damage=
|startupRoot=
|startup=
|block=
|hit=
|ch=
|notes=
}}
Comprehensive entry:
{{MoveData2
|moveNo=
|id=
|name=
|inputLead=
|input=
|targetLead=
|target=
|damageLead=
|damage=
|startupRoot=
|startup=
|block=
|hit=
|ch=
|tracksLeft=
|tracksRight=
|range=
|recv=
|crush=
|screw=
|wall=
|floor=
|combo=
|jail=
|leeway=
|delay=
|notes=
}}

Note that the parameters don't have to be listed in sequence.

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