Template:MoveData: Difference between revisions

Template page
No edit summary
No edit summary
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div class="movedata">
<includeonly><templatestyles src="MoveData/style2.css"/><div class="movedata hover-bg-grey-03">
<div class="movedata-name">{{{name|}}}</div>
<div class="movedata-id">
<div class="movedata-input-ctn">
  <div class="movedata-name">{{{name|}}}</div>
<span class="movedata-inputLead">{{{inputLead|}}}</span><span class="movedata-input">{{{input}}}</span>
  <div class="movedata-input-ctn">
<span class="movedata-inputLead">{{#replace:{{{inputLead|}}}|,|,&#8203;}}</span><span class="movedata-input">{{#replace:{{{input}}}|,|,&#8203;}}</span>
</div>
</div>
<div class="movedata-target-ctn">
<span class="movedata-targetLead">{{{targetLead|}}}</span><span class="movedata-target">{{{target}}}</span>
</div>
</div>
<div class="movedata-damage-ctn">
<div class="movedata-threat">
<span class="movedata-damageLead">{{{damageLead|}}}</span><span class="movedata-damage">{{{damage}}}</span>
  <div class="movedata-target-ctn"><span class="movedata-targetLead">{{#replace:{{{targetLead|}}}|,|,&#8203;}}</span><span class="movedata-target">{{#replace:{{{target|}}}|,|,&#8203;}}</span></div>
  <div class="movedata-damage-ctn"><span class="movedata-damageLead">{{#replace:{{{damageLead|}}}|,|,&#8203;}}</span><span class="movedata-damage">{{#replace:{{{damage|}}}|,|,&#8203;}}</span></div>
  <div class="movedata-range">{{{range|}}}</div>
</div>
</div>
<div class="movedata-startup-ctn">
<div class="movedata-frames">{{#if:{{{tracksLeft|}}}|
<span class="movedata-startupLead">{{{startupLead|}}}</span><span class="movedata-startup">{{{startup}}}</span>
  <div class="movedata-tracks left">{{#iferror:{{#ifexpr:{{{tracksLeft}}}<0 or {{{tracksLeft}}}>99|{{Error}}}}|
</div>
    <div class="movedata-tracks-label">{{{tracksLeft}}}</div>|
<div class="movedata-crush">{{{crush|}}}</div>
    <div class="movedata-tracks-bar bg-blue-30" style="width: {{#expr: floor(100*{{{tracksLeft}}}/30) }}% "></div>
<div class="movedata-block">{{{block|}}}</div>
    <div class="movedata-tracks-score">{{{tracksLeft}}}</div>}}
<div class="movedata-hit">{{{hit|}}}</div>
  </div>}}{{#if:{{{tracksRight|}}}|
<div class="movedata-ch">{{{ch|}}}</div>
  <div class="movedata-tracks right">{{#iferror:{{#ifexpr:{{{tracksRight}}}<0 or {{{tracksRight}}}>99|{{Error}}}}|
<div class="movedata-clean">{{{clean|}}}</div>
    <div class="movedata-tracks-label">{{{tracksRight}}}</div>|
<div class="movedata-recv-ctn">
    <div class="movedata-tracks-score">{{{tracksRight}}}</div>
<span class="movedata-recvLead">{{{recvLead|}}}</span><span class="movedata-recv">{{{recv}}}</span>
    <div class="movedata-tracks-bar bg-blue-30" style="width: {{#expr: floor(100*{{{tracksRight}}}/30) }}% "></div>}}
  </div>}}
  <div class="movedata-block">{{{block|}}}</div>
  <div class="movedata-hit">{{{hit|}}}</div>
  <div class="movedata-ch">{{{ch|}}}</div>
  <div class="movedata-startupRoot">{{{startupRoot|}}}</div>
  <div class="movedata-startup">{{{startup|}}}</div>
  <div class="movedata-crush">{{{crush|}}}</div>
  <div class="movedata-recv">{{{recv|}}}</div>
</div>
</div>
<div class="movedata-notes">{{{notes|}}}</div>
<div class="movedata-notes">{{{notes|}}}</div>
</div>
</div></includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 04:37, 14 January 2021

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
js12~
r27
Brilliant Rosé

uf+3,​1

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