Template:OverworldPokemon: Difference between revisions
Jump to navigation
Jump to search
m Text replacement - "prowiki.info" to "wiki.pokemonrevolution.net" |
mNo edit summary |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 15: | Line 15: | ||
<table class="collapsible collapsed" style="width: 100%; text-align: center; padding: 4px;"> | <table class="collapsible collapsed" style="width: 100%; text-align: center; padding: 4px;"> | ||
<tr style="background-color: {{#var:cell}}; color:{{#var:border}};"> | <tr style="background-color: {{#var:cell}}; color:{{#var:border}};"> | ||
<th style=" | <th style="border: 1px solid {{#var:border}};">Move</th><th style="border: 1px solid {{#var:border}};">Type</th><th style="border: 1px solid {{#var:border}};">Category</th><th style="border: 1px solid {{#var:border}};>Base Power</th><th style="border: 1px solid {{#var:border}};">Accuracy</th> | ||
</tr> | </tr> | ||
{{#arraydefine:moves|{{{Moves}}}}} | {{#if:{{{Moves|}}}|{{#arraydefine:moves|{{{Moves}}}}} | ||
{{#loop:vector| | {{#loop:vector| | ||
0| | 0| | ||
{{#arraysize:moves}}| | |||
<tr style="background-color:#FFFFFF; color:#000000;"> | <tr style="background-color:#FFFFFF; color:#000000;"> | ||
{{#get_web_data:url=https://wiki.pokemonrevolution.net/index.php?title=Special:GetData/RawMovesList|format=CSV with header|filters=Name={{#arrayindex:moves|{{#var:vector}}}}|data=technique=Name,movetype=Type,category=Category,power=Power,accuracy=Accuracy,pp=PP,broken=Broken,typeless=Typeless}} | {{#get_web_data:url=https://wiki.pokemonrevolution.net/index.php?title=Special:GetData/RawMovesList|format=CSV with header|filters=Name={{#arrayindex:moves|{{#var:vector}}}}|data=technique=Name,movetype=Type,category=Category,power=Power,accuracy=Accuracy,pp=PP,broken=Broken,typeless=Typeless}} | ||
Line 29: | Line 29: | ||
<td>{{#external_value:accuracy}}</td> | <td>{{#external_value:accuracy}}</td> | ||
</tr> | </tr> | ||
}} | }}}} | ||
</table> | </table> | ||
</td> | </td> | ||
</tr> | </tr> | ||
</table></td></table></includeonly> | </table></td></table></includeonly> |
Latest revision as of 16:38, 28 August 2025
To be used for battlable overworld-interactable Pokémon—usually Legendary Pokémon—on area pages.
It accepts two arguments: {{{Pokemon}}} for the Pokemon's name, and {{{Moves}}} for their moveset.