RogerDodger (talk | contribs) (RogerDodger moved page Template:MoveData2 to Template:MoveData/sandbox) Tag: New redirect |
Oldmanwang (talk | contribs) mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
# | <includeonly><templatestyles src="MoveData/style3.css"/><div class="movedata hover-bg-grey-03"> | ||
<div class="movedata-moveno">{{{moveNo|}}}</div> | |||
<div class="movedata-id"> | |||
<div class="movedata-name">{{{name|}}}</div> | |||
<div class="movedata-input-ctn"> | |||
<span class="movedata-inputLead">{{#replace:{{{inputLead|}}}|,|,​}}</span><span class="movedata-input">{{#replace:{{{input}}}|,|,​}}</span></div> | |||
<div class="movedata-threat"> | |||
<div class="movedata-target-ctn"><span class="movedata-targetLead">{{#replace:{{{targetLead|}}}|,|,​}}</span><span class="movedata-target">{{#replace:{{{target|}}}|,|,​}}</span><span class="movedata-divider"> | </span> | |||
<span class="movedata-damage-ctn"><span class="movedata-damageLead">{{#replace:{{{damageLead|}}}|,|,​}}</span><span class="movedata-damage">{{#replace:{{{damage|}}}|,|,​}}</span></span></div> | |||
</div> | |||
</div> | |||
<div class="movedata-frames"> | |||
<div class="movedata-target-ctn"><span class="movedata-startupRoot">{{#replace:{{{startupRoot|}}}|,|,​}}</span><span class="movedata-startup">{{#replace:{{{startup|}}}|,|,​}}</span></div> | |||
<div class="movedata-block">{{{block|}}}</div> | |||
<div class="movedata-hit">{{{hit|}}}</div> | |||
<div class="movedata-ch">{{{ch|}}}</div> | |||
</div> | |||
<div class="movedata-whiff"> | |||
<div class="movedata-tracking">{{#if:{{{tracksLeft|}}}| | |||
<div class="movedata-tracks left">{{#iferror:{{#ifexpr:{{{tracksLeft}}}<0 or {{{tracksLeft}}}>99|{{Error}}}}| | |||
<div class="movedata-tracks-label">{{{tracksLeft}}}</div>| | |||
<div class="movedata-tracks-bar bg-blue-30" style="width: {{#expr: floor(100*{{{tracksLeft}}}/40) }}% "></div> | |||
<div class="movedata-tracks-score">{{{tracksLeft}}}</div>}} | |||
</div>}}{{#if:{{{tracksRight|}}}| | |||
<div class="movedata-tracks right">{{#iferror:{{#ifexpr:{{{tracksRight}}}<0 or {{{tracksRight}}}>99|{{Error}}}}| | |||
<div class="movedata-tracks-label">{{{tracksRight}}}</div>| | |||
<div class="movedata-tracks-score">{{{tracksRight}}}</div> | |||
<div class="movedata-tracks-bar bg-blue-30" style="width: {{#expr: floor(100*{{{tracksRight}}}/40) }}% "></div>}} | |||
</div>}} | |||
</div> | |||
<div class="movedata-distant"> | |||
<div class="movedata-range">{{{range|}}}</div> | |||
<div class="movedata-recv">{{{recv|}}}</div> | |||
<div class="movedata-crush">{{{crush|}}}</div> | |||
</div> | |||
<div class="movedata-special"> | |||
<div class="movedata-screw">{{{screw|}}}</div> | |||
<div class="movedata-wall">{{{wall|}}}</div> | |||
<div class="movedata-floor">{{{floor|}}}</div> | |||
</div> | |||
</div> | |||
<div class="movedata-string"> | |||
<div class="movedata-combo">{{{combo|}}}</div> | |||
<div class="movedata-jail">{{{jail|}}}</div> | |||
<div class="movedata-leeway">{{{leeway|}}}</div> | |||
<div class="movedata-delay">{{{delay|}}}</div> | |||
</div> | |||
<div class="movedata-tab"> | |||
<div class="movedata-tab-text">{{{tab|}}}</div> | |||
</div> | |||
<div class="movedata-notes">{{{notes|}}}</div> | |||
</div> | |||
</div></includeonly><noinclude>{{documentation}}</noinclude> |
Latest revision as of 06:55, 5 February 2021
This template uses TemplateStyles: | |
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 : 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
- The above documentation is from Template:MoveData2/doc
- Editors should experiment in this template’s sandbox and testcases pages