Template:GymLeaderInfo: Difference between revisions
Jump to navigation
Jump to search
Will need to optimizingly cache this if we're going to plug in SInnoh''s gym-leaders, lest there's an inordinacy of data calls for move data on the same page. Testing this out. |
No edit summary |
||
Line 31: | Line 31: | ||
<td><span style="{{#ifeq: {{#external_value:category-{{#arrayindex:moves|0}}}} | Status | | {{#ifeq:{{#external_value:typeless-{{#arrayindex:moves|0}}}} | N | {{#ifeq:{{#external_value:type1}} | {{#external_value:movetype-{{#arrayindex:moves|0}}}} | font-weight: bold; | {{#ifeq: {{#external_value:type2}} | {{#external_value:movetype-{{#arrayindex:moves|0}}}} | font-weight: bold;}} }} }} }} {{#ifeq:{{#external_value:broken-{{#arrayindex:moves|0}}}} | Y | font-style: italic;}}">[[{{#external_value:technique-{{#arrayindex:moves|0}}}}]]</span></td> | <td><span style="{{#ifeq: {{#external_value:category-{{#arrayindex:moves|0}}}} | Status | | {{#ifeq:{{#external_value:typeless-{{#arrayindex:moves|0}}}} | N | {{#ifeq:{{#external_value:type1}} | {{#external_value:movetype-{{#arrayindex:moves|0}}}} | font-weight: bold; | {{#ifeq: {{#external_value:type2}} | {{#external_value:movetype-{{#arrayindex:moves|0}}}} | font-weight: bold;}} }} }} }} {{#ifeq:{{#external_value:broken-{{#arrayindex:moves|0}}}} | Y | font-style: italic;}}">[[{{#external_value:technique-{{#arrayindex:moves|0}}}}]]</span></td> | ||
<td style="background-color: #{{{{#external_value:movetype-{{#arrayindex:moves|0}}}}_color}};">[[{{#external_value:movetype-{{#arrayindex:moves|0}}}}_(type)|<span style="color:#FFFFFF;">{{#external_value:movetype-{{#arrayindex:moves|0}}}}</span>]]</td> | <td style="background-color: #{{{{#external_value:movetype-{{#arrayindex:moves|0}}}}_color}};">[[{{#external_value:movetype-{{#arrayindex:moves|0}}}}_(type)|<span style="color:#FFFFFF;">{{#external_value:movetype-{{#arrayindex:moves|0}}}}</span>]]</td> | ||
<td style="background-color:#{{{{#external_value:category | <td style="background-color:#{{{{#external_value:category-{{#arrayindex:moves|0}}}}_color}};">[[{{#external_value:category-{{#arrayindex:moves|0}}}} Moves|<span style="color:#FFFFFF;">{{#external_value:category-{{#arrayindex:moves|0}}}}</span>]]</td> | ||
<td>{{#if:{{#external_value:power | <td>{{#if:{{#external_value:power-{{#arrayindex:moves|0}}}} | {{#external_value:power-{{#arrayindex:moves|0}}}} | — }}</td> | ||
<td>{{#external_value:accuracy | <td>{{#external_value:accuracy-{{#arrayindex:moves|0}}}}</td> | ||
</tr> | </tr> | ||
<tr style="background-color:#FFFFFF; color:#000000;"> | <tr style="background-color:#FFFFFF; color:#000000;"> |