Template:GymLeaderInfo: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 36: Line 36:
</tr>
</tr>
<tr style="background-color:#FFFFFF; color:#000000;">
<tr style="background-color:#FFFFFF; color:#000000;">
{{#get_web_data:url=http://prowiki.info/index.php?title=Special:GetData/RawMovesList|format=CSV with header|filters=Name={{#arrayindex:moves|1}}|data=technique=Name,movetype=Type,category=Category,power=Power,accuracy=Accuracy,pp=PP,broken=Broken,typeless=Typeless}}
{{#iferror:{{#external_value:technique-{{#arrayindex:moves|1}}}}|{{#get_web_data:url=http://prowiki.info/index.php?title=Special:GetData/RawMovesList|format=CSV with header|filters=Name={{#arrayindex:moves|1}}|data=technique-{{#arrayindex:moves|1}}=Name,movetype-{{#arrayindex:moves|1}}=Type,category-{{#arrayindex:moves|1}}=Category,power-{{#arrayindex:moves|1}}=Power,accuracy-{{#arrayindex:moves|1}}=Accuracy,broken-{{#arrayindex:moves|1}}=Broken,typeless-{{#arrayindex:moves|1}}=Typeless}}|}}
<td><span style="{{#ifeq: {{#external_value:category}} | Status | | {{#ifeq:{{#external_value:typeless}} | N | {{#ifeq:{{#external_value:type1}} | {{#external_value:movetype}} | font-weight: bold; | {{#ifeq: {{#external_value:type2}} | {{#external_value:movetype}} | font-weight: bold;}} }} }} }}  {{#ifeq:{{#external_value:broken}} | Y | font-style: italic;}}">[[{{#external_value:technique}}]]</span></td>
<td><span style="{{#ifeq: {{#external_value:category-{{#arrayindex:moves|1}}}} | Status | | {{#ifeq:{{#external_value:typeless-{{#arrayindex:moves|1}}}} | N | {{#ifeq:{{#external_value:type1}} | {{#external_value:movetype-{{#arrayindex:moves|1}}}} | font-weight: bold; | {{#ifeq: {{#external_value:type2}} | {{#external_value:movetype-{{#arrayindex:moves|1}}}} | font-weight: bold;}} }} }} }}  {{#ifeq:{{#external_value:broken-{{#arrayindex:moves|1}}}} | Y | font-style: italic;}}">[[{{#external_value:technique-{{#arrayindex:moves|1}}}}]]</span></td>
<td style="background-color: #{{{{#external_value:movetype}}_color}};">[[{{#external_value:movetype}}_(type)|<span style="color:#FFFFFF;">{{#external_value:movetype}}</span>]]</td>
<td style="background-color: #{{{{#external_value:movetype-{{#arrayindex:moves|1}}}}_color}};">[[{{#external_value:movetype-{{#arrayindex:moves|1}}}}_(type)|<span style="color:#FFFFFF;">{{#external_value:movetype-{{#arrayindex:moves|1}}}}</span>]]</td>
<td style="background-color:#{{{{#external_value:category}}_color}};">[[{{#external_value:category}} Moves|<span style="color:#FFFFFF;">{{#external_value:category}}</span>]]</td>
<td style="background-color:#{{{{#external_value:category-{{#arrayindex:moves|1}}}}_color}};">[[{{#external_value:category-{{#arrayindex:moves|1}}}} Moves|<span style="color:#FFFFFF;">{{#external_value:category-{{#arrayindex:moves|1}}}}</span>]]</td>
<td>{{#if:{{#external_value:power}} | {{#external_value:power}} | — }}</td>
<td>{{#if:{{#external_value:power-{{#arrayindex:moves|1}}}} | {{#external_value:power-{{#arrayindex:moves|1}}}} | — }}</td>
<td>{{#external_value:accuracy}}</td>
<td>{{#external_value:accuracy-{{#arrayindex:moves|1}}}}</td>
</tr>
</tr>
<tr style="background-color:#FFFFFF; color:#000000;">
<tr style="background-color:#FFFFFF; color:#000000;">
{{#get_web_data:url=http://prowiki.info/index.php?title=Special:GetData/RawMovesList|format=CSV with header|filters=Name={{#arrayindex:moves|2}}|data=technique=Name,movetype=Type,category=Category,power=Power,accuracy=Accuracy,pp=PP,broken=Broken,typeless=Typeless}}
{{#iferror:{{#external_value:technique-{{#arrayindex:moves|2}}}}|{{#get_web_data:url=http://prowiki.info/index.php?title=Special:GetData/RawMovesList|format=CSV with header|filters=Name={{#arrayindex:moves|2}}|data=technique-{{#arrayindex:moves|2}}=Name,movetype-{{#arrayindex:moves|2}}=Type,category-{{#arrayindex:moves|2}}=Category,power-{{#arrayindex:moves|2}}=Power,accuracy-{{#arrayindex:moves|2}}=Accuracy,broken-{{#arrayindex:moves|2}}=Broken,typeless-{{#arrayindex:moves|2}}=Typeless}}|}}
<td><span style="{{#ifeq: {{#external_value:category}} | Status | | {{#ifeq:{{#external_value:typeless}} | N | {{#ifeq:{{#external_value:type1}} | {{#external_value:movetype}} | font-weight: bold; | {{#ifeq: {{#external_value:type2}} | {{#external_value:movetype}} | font-weight: bold;}} }} }} }}  {{#ifeq:{{#external_value:broken}} | Y | font-style: italic;}}">[[{{#external_value:technique}}]]</span></td>
<td><span style="{{#ifeq: {{#external_value:category-{{#arrayindex:moves|2}}}} | Status | | {{#ifeq:{{#external_value:typeless-{{#arrayindex:moves|2}}}} | N | {{#ifeq:{{#external_value:type1}} | {{#external_value:movetype-{{#arrayindex:moves|2}}}} | font-weight: bold; | {{#ifeq: {{#external_value:type2}} | {{#external_value:movetype-{{#arrayindex:moves|2}}}} | font-weight: bold;}} }} }} }}  {{#ifeq:{{#external_value:broken-{{#arrayindex:moves|2}}}} | Y | font-style: italic;}}">[[{{#external_value:technique-{{#arrayindex:moves|2}}}}]]</span></td>
<td style="background-color: #{{{{#external_value:movetype}}_color}};">[[{{#external_value:movetype}}_(type)|<span style="color:#FFFFFF;">{{#external_value:movetype}}</span>]]</td>
<td style="background-color: #{{{{#external_value:movetype-{{#arrayindex:moves|2}}}}_color}};">[[{{#external_value:movetype-{{#arrayindex:moves|2}}}}_(type)|<span style="color:#FFFFFF;">{{#external_value:movetype-{{#arrayindex:moves|2}}}}</span>]]</td>
<td style="background-color:#{{{{#external_value:category}}_color}};">[[{{#external_value:category}} Moves|<span style="color:#FFFFFF;">{{#external_value:category}}</span>]]</td>
<td style="background-color:#{{{{#external_value:category-{{#arrayindex:moves|2}}}}_color}};">[[{{#external_value:category-{{#arrayindex:moves|2}}}} Moves|<span style="color:#FFFFFF;">{{#external_value:category-{{#arrayindex:moves|2}}}}</span>]]</td>
<td>{{#if:{{#external_value:power}} | {{#external_value:power}} | — }}</td>
<td>{{#if:{{#external_value:power-{{#arrayindex:moves|2}}}} | {{#external_value:power-{{#arrayindex:moves|2}}}} | — }}</td>
<td>{{#external_value:accuracy}}</td>
<td>{{#external_value:accuracy-{{#arrayindex:moves|2}}}}</td>
</tr>
</tr>
<tr style="background-color:#FFFFFF; color:#000000;">
<tr style="background-color:#FFFFFF; color:#000000;">
{{#get_web_data:url=http://prowiki.info/index.php?title=Special:GetData/RawMovesList|format=CSV with header|filters=Name={{#arrayindex:moves|3}}|data=technique=Name,movetype=Type,category=Category,power=Power,accuracy=Accuracy,pp=PP,broken=Broken,typeless=Typeless}}
{{#iferror:{{#external_value:technique-{{#arrayindex:moves|3}}}}|{{#get_web_data:url=http://prowiki.info/index.php?title=Special:GetData/RawMovesList|format=CSV with header|filters=Name={{#arrayindex:moves|3}}|data=technique-{{#arrayindex:moves|3}}=Name,movetype-{{#arrayindex:moves|3}}=Type,category-{{#arrayindex:moves|3}}=Category,power-{{#arrayindex:moves|3}}=Power,accuracy-{{#arrayindex:moves|3}}=Accuracy,broken-{{#arrayindex:moves|3}}=Broken,typeless-{{#arrayindex:moves|3}}=Typeless}}|}}
<td><span style="{{#ifeq: {{#external_value:category}} | Status | | {{#ifeq:{{#external_value:typeless}} | N | {{#ifeq:{{#external_value:type1}} | {{#external_value:movetype}} | font-weight: bold; | {{#ifeq: {{#external_value:type2}} | {{#external_value:movetype}} | font-weight: bold;}} }} }} }}  {{#ifeq:{{#external_value:broken}} | Y | font-style: italic;}}">[[{{#external_value:technique}}]]</span></td>
<td><span style="{{#ifeq: {{#external_value:category-{{#arrayindex:moves|3}}}} | Status | | {{#ifeq:{{#external_value:typeless-{{#arrayindex:moves|3}}}} | N | {{#ifeq:{{#external_value:type1}} | {{#external_value:movetype-{{#arrayindex:moves|3}}}} | font-weight: bold; | {{#ifeq: {{#external_value:type2}} | {{#external_value:movetype-{{#arrayindex:moves|3}}}} | font-weight: bold;}} }} }} }}  {{#ifeq:{{#external_value:broken-{{#arrayindex:moves|3}}}} | Y | font-style: italic;}}">[[{{#external_value:technique-{{#arrayindex:moves|3}}}}]]</span></td>
<td style="background-color: #{{{{#external_value:movetype}}_color}};">[[{{#external_value:movetype}}_(type)|<span style="color:#FFFFFF;">{{#external_value:movetype}}</span>]]</td>
<td style="background-color: #{{{{#external_value:movetype-{{#arrayindex:moves|3}}}}_color}};">[[{{#external_value:movetype-{{#arrayindex:moves|3}}}}_(type)|<span style="color:#FFFFFF;">{{#external_value:movetype-{{#arrayindex:moves|3}}}}</span>]]</td>
<td style="background-color:#{{{{#external_value:category}}_color}};">[[{{#external_value:category}} Moves|<span style="color:#FFFFFF;">{{#external_value:category}}</span>]]</td>
<td style="background-color:#{{{{#external_value:category-{{#arrayindex:moves|3}}}}_color}};">[[{{#external_value:category-{{#arrayindex:moves|3}}}} Moves|<span style="color:#FFFFFF;">{{#external_value:category-{{#arrayindex:moves|3}}}}</span>]]</td>
<td>{{#if:{{#external_value:power}} | {{#external_value:power}} | — }}</td>
<td>{{#if:{{#external_value:power-{{#arrayindex:moves|3}}}} | {{#external_value:power-{{#arrayindex:moves|3}}}} | — }}</td>
<td>{{#external_value:accuracy}}</td>
<td>{{#external_value:accuracy-{{#arrayindex:moves|3}}}}</td>
</tr>
</tr>
</table>
</table>

Revision as of 22:44, 18 August 2017