Template:TM: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 4: | Line 4: | ||
<tr style="background-color:#FFFFFF;"> | <tr style="background-color:#FFFFFF;"> | ||
<td>[[File:TM-{{#arrayindex:movetype|{{#var:iteration}}}}.png]]</td> | <td>[[File:TM-{{#arrayindex:movetype|{{#var:iteration}}}}.png]]</td> | ||
<td>TM | <td>TM{{#arrayindex:tm|{{#var:iteration}}}}</td> | ||
<td><span style="{{#ifeq: {{#arrayindex:category|{{#var:iteration}}}} | Status | | {{#ifeq:{{#arrayindex:typeless|{{#var:iteration}}}} | N | {{#ifeq:{{#external_value:type1}} | {{#arrayindex:movetype|{{#var:iteration}}}} | font-weight: bold; | {{#ifeq: {{#external_value:type2}} | {{#arrayindex:movetype|{{#var:iteration}}}} | font-weight: bold;}} }} }} }} {{#ifeq:{{#arrayindex:broken|{{#var:iteration}}}} | Y | font-style: italic;}}">[[{{#arrayindex:name|{{#var:iteration}}}}]]</span></td> | <td><span style="{{#ifeq: {{#arrayindex:category|{{#var:iteration}}}} | Status | | {{#ifeq:{{#arrayindex:typeless|{{#var:iteration}}}} | N | {{#ifeq:{{#external_value:type1}} | {{#arrayindex:movetype|{{#var:iteration}}}} | font-weight: bold; | {{#ifeq: {{#external_value:type2}} | {{#arrayindex:movetype|{{#var:iteration}}}} | font-weight: bold;}} }} }} }} {{#ifeq:{{#arrayindex:broken|{{#var:iteration}}}} | Y | font-style: italic;}}">[[{{#arrayindex:name|{{#var:iteration}}}}]]</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> | <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> |
Revision as of 05:41, 15 September 2017
Use this in tandem with Template:MoveTableTM to construct the move-data rows in it.