Template:M: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>Use this in tandem with [[Template:MoveTableLevelUp]] to construct the move-data rows in it.</noinclude> | <noinclude>Use this in tandem with [[Template:MoveTableLevelUp]] to construct the move-data rows in it.</noinclude> | ||
<includeonly> | <includeonly>{{#vardefine:iteration|{{#arraysearch:name|{{ucfirst:{{{Move}}}}}}}}}<tr style="background-color:#FFFFFF;"><td>{{#if:{{{l|}}}| {{{l}}} | —}}</td><td><span style="{{#ifeq: {{#arrayindex:category|{{#var:iteration}}}} | Status | | {{#ifeq:{{#arrayindex:typeless|{{#var:iteration}}}} | N | {{#ifeq:{{#var:primaryType}} | {{#arrayindex:movetype|{{#var:iteration}}}} | font-weight: bold; | {{#ifeq: {{#var:secondaryType}} | {{#arrayindex:movetype|{{#var:iteration}}}} | font-weight: bold;}} }} }} }} {{#ifeq:{{#arrayindex:broken|{{#var:iteration}}}} | Y | font-style: italic;}}">[[{{#arrayindex:name|{{#var:iteration}}}}]] {{#if:{{{p|}}} | <span style="font-weight: normal;">({{{p|}}})</span>}}{{#if:{{{a|}}}|<nowiki>*</nowiki>{{#vardefine:asterisk|{{{a|}}}}}}}</span></td><td style="background-color: #{{{{#arrayindex:movetype|{{#var:iteration}}}}_color}}; border: 2px solid #{{{{#arrayindex:movetype|{{#var:iteration}}}}_color_dark}};">[[{{#arrayindex:movetype|{{#var:iteration}}}}_(type)|<span style="color:#FFFFFF;">{{#arrayindex:movetype|{{#var:iteration}}}}</span>]]</td> | ||
{{#vardefine:iteration|{{#arraysearch:name|{{ucfirst:{{{Move}}}}}}}}} | <td style="background-color:#{{{{#arrayindex:category|{{#var:iteration}}}}_color}}; border: 2px solid #{{{{#arrayindex:category|{{#var:iteration}}}}_color_dark}};">[[{{#arrayindex:category|{{#var:iteration}}}} moves|<span style="color:#FFFFFF;">{{#arrayindex:category|{{#var:iteration}}}}</span>]]</td><td>{{#if:{{#arrayindex:power|{{#var:iteration}}}} | {{#arrayindex:power|{{#var:iteration}}}} | — }}</td><td>{{#arrayindex:accuracy|{{#var:iteration}}}}</td><td>{{#arrayindex:pp|{{#var:iteration}}}}</td></tr></includeonly> | ||
<tr style="background-color:#FFFFFF;"> | |||
<td>{{#if:{{{l|}}}| {{{l}}} | —}}</td> | |||
<td><span style="{{#ifeq: {{#arrayindex:category|{{#var:iteration}}}} | Status | | {{#ifeq:{{#arrayindex:typeless|{{#var:iteration}}}} | N | {{#ifeq:{{# | |||
<td style="background-color: #{{{{#arrayindex:movetype|{{#var:iteration}}}}_color}}; border: 2px solid #{{{{#arrayindex:movetype|{{#var:iteration}}}}_color_dark}};">[[{{#arrayindex:movetype|{{#var:iteration}}}}_(type)|<span style="color:#FFFFFF;">{{#arrayindex:movetype|{{#var:iteration}}}}</span>]]</td> | |||
<td style="background-color:#{{{{#arrayindex:category|{{#var:iteration}}}}_color}}; border: 2px solid #{{{{#arrayindex:category|{{#var:iteration}}}}_color_dark}};">[[{{#arrayindex:category|{{#var:iteration}}}} moves|<span style="color:#FFFFFF;">{{#arrayindex:category|{{#var:iteration}}}}</span>]]</td> | |||
<td>{{#if:{{#arrayindex:power|{{#var:iteration}}}} | {{#arrayindex:power|{{#var:iteration}}}} | — }}</td> | |||
<td>{{#arrayindex:accuracy|{{#var:iteration}}}}</td> | |||
<td>{{#arrayindex:pp|{{#var:iteration}}}}</td></tr></includeonly> |
Latest revision as of 21:56, 14 July 2020
Use this in tandem with Template:MoveTableLevelUp to construct the move-data rows in it.