Template:MoveData: Difference between revisions

Template page
No edit summary
(add id href and anchor, add total, move crush to notes container)
Line 1: Line 1:
<includeonly><templatestyles src="MoveData/style2.css"/><div class="movedata hover-bg-grey-03">
<includeonly><templatestyles src="MoveData/style2.css"/><div class="movedata hover-bg-grey-03"{{#if:{{{id|}}}| id="{{{id}}}"}}>
<div class="movedata-id">
{{#if:{{{id|}}}|<div class="movedata-id">[[#{{{id}}}]]</div>
}}<div class="movedata-labels">
   <div class="movedata-name">{{{name|}}}</div>
   <div class="movedata-name">{{{name|}}}</div>
   <div class="movedata-input-ctn">
   <div class="movedata-input-ctn">
Line 27: Line 28:
   <div class="movedata-startupRoot">{{{startupRoot|}}}</div>
   <div class="movedata-startupRoot">{{{startupRoot|}}}</div>
   <div class="movedata-startup">{{{startup|}}}</div>
   <div class="movedata-startup">{{{startup|}}}</div>
  <div class="movedata-crush">{{{crush|}}}</div>
   <div class="movedata-recv">{{{recv|}}}</div>
   <div class="movedata-recv">{{{recv|}}}</div>
  <div class="movedata-tot">{{{tot|}}}</div>
</div>
</div>
<div class="movedata-notes">{{{notes|}}}</div>
<div class="movedata-notes">{{#if:{{{crush|}}}|<div class="movedata-crush">{{MoveDataIcon|color=red|{{{crush}}}}}</div>
}}{{{notes|}}}</div>
</div></includeonly><noinclude>{{documentation}}</noinclude>
</div></includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 06:39, 10 July 2022

Deprecated. Use {{Move7}} instead.

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-uf+3
|input=uf+3
|target=m
|damage=12
|range=3.09
|tracksLeft=18
|tracksRight=9
|startup=i25~26
|crush=js12~
|recv=r27
|tot=53
|block=-9
|hit=+2
}}
{{MoveData
|id=Lee-uf+3,1
|name=Brilliant Rosé
|inputLead=uf+3
|input=,1
|targetLead=m
|target=,m
|damageLead=12
|damage=,18
|range=4.27
|startupRoot=i25~26
|startup=,i21~22
|recv=r30 FC
|tot=78
|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.
tot The total number of frames for the whole move. For strings, this count is from the start of the string with no delays.
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. See also {{MoveDataIcon}}.

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

uf+3

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

uf+3,​1

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