Template:PKM: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>Use this in tandem with [[Template:MoveLevelUpTable]] to construct the move-data rows in it.</noinclude> | <noinclude>Use this in tandem with [[Template:MoveLevelUpTable]] to construct the move-data rows in it.</noinclude> | ||
<includeonly> | <includeonly> | ||
<tr style="background-color:#FFFFFF;"> | <tr style="background-color:#FFFFFF;"> | ||
<td>{{# | {{#vardefine:iteration|{{#arraysearch:name|{{ucfirst:{{{Name}}}}}}}}} | ||
<td>[[File:{{# | <td>{{padleft:{{#arrayindex:number|{{#var:iteration}}}}|3}}</td> | ||
<td><span style="{{#ifeq: {{#var:stab}} | 1 | {{#ifeq:{{# | <td>[[File:{{#arrayindex:number|{{#var:iteration}}}}Icon.png]]</td> | ||
<td style="background-color: #{{{{# | <td><span style="{{#ifeq: {{#var:stab}} | 1 | {{#ifeq:{{#arrayindex:type1|{{#var:iteration}}}} | {{#external_value:movetype}} | font-weight: bold; | {{#ifeq: {{#arrayindex:type2|{{#var:iteration}}}} | {{#external_value:movetype}} | font-weight: bold;}} }} }}">[[{{{Name}}}]]</span></td> | ||
<td style="background-color: #{{{{# | <td style="background-color: #{{{{#arrayindex:type1|{{#var:iteration}}}}_color}}; border: 2px solid #{{{{#arrayindex:type1|{{#var:iteration}}}}_color_dark}};">[[{{#arrayindex:type1|{{#var:iteration}}}}_(type)|<span style="color:#FFFFFF;">{{#arrayindex:type1|{{#var:iteration}}}}</span>]]</td> | ||
<td style="background-color: #{{{{#arrayindex:type2|{{#var:iteration}}}}_color}}; border: 2px solid #{{{{#arrayindex:type2|{{#var:iteration}}}}_color_dark}};">[[{{#arrayindex:type2|{{#var:iteration}}}}_(type)|<span style="color:#FFFFFF;">{{#arrayindex:type2|{{#var:iteration}}}}</span>]]</td> | |||
<td>{{#if:{{{l|}}}| {{{l}}} | —}}</td> | <td>{{#if:{{{l|}}}| {{{l}}} | —}}</td> | ||
</tr> | </tr> | ||
</includeonly> | </includeonly> |
Latest revision as of 03:09, 1 September 2017
Use this in tandem with Template:MoveLevelUpTable to construct the move-data rows in it.