Template:LEMove: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
Created page with "<includeonly>{{#vardefine:iteration|{{#arraysearch:name|{{ucfirst:{{{1|Nasty Plot}}}}}}}}} <td><span style="{{#ifeq: {{#arrayindex:category|{{#var:iteration}}}} | Status | | {..."
 
m Properly conditionalized the STAB markup.
 
Line 1: Line 1:
<includeonly>{{#vardefine:iteration|{{#arraysearch:name|{{ucfirst:{{{1|Nasty Plot}}}}}}}}}
<includeonly>{{#vardefine:iteration|{{#arraysearch:name|{{ucfirst:{{{1|Nasty Plot}}}}}}}}}
<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}}}}]]</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>
<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 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>

Latest revision as of 17:18, 31 March 2022