Template:OverworldPokemon: Difference between revisions
Jump to navigation
Jump to search
loop fix |
mNo edit summary |
||
Line 2: | Line 2: | ||
It accepts two arguments: {{{Pokemon}}} for the Pokemon's name, and {{{Moves}}} for their moveset.</noinclude> | It accepts two arguments: {{{Pokemon}}} for the Pokemon's name, and {{{Moves}}} for their moveset.</noinclude> | ||
<includeonly>{{#get_web_data:url= | <includeonly>{{#get_web_data:url=https://wiki.pokemonrevolution.net/index.php?title=Special:GetData/PokemonRawList|format=CSV with header|filters=Name={{{Pokemon}}}|data=name=Name,number=Pokedex Number,type1=Type1,type2=Type2}} | ||
{{#if:{{{Theme|}}}|{{#vardefine:border|#{{{{{Theme}}}_color_dark}}}}{{#vardefine:background|#{{{{{Theme}}}_color}}}}{{#vardefine:cell|#{{{{{Theme}}}_color_light}}}}}} | {{#if:{{{Theme|}}}|{{#vardefine:border|#{{{{{Theme}}}_color_dark}}}}{{#vardefine:background|#{{{{{Theme}}}_color}}}}{{#vardefine:cell|#{{{{{Theme}}}_color_light}}}}}} | ||
<table style="width: 66%; padding: 4px; text-align: center;"> | <table style="width: 66%; padding: 4px; text-align: center;"> | ||
Line 22: | Line 22: | ||
{{#arraysize:moves}}| | {{#arraysize:moves}}| | ||
<tr style="background-color:#FFFFFF; color:#000000;"> | <tr style="background-color:#FFFFFF; color:#000000;"> | ||
{{#get_web_data:url= | {{#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}} | ||
<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}} | 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 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}}_color}};">[[{{#external_value:movetype}}_(type)|<span style="color:#FFFFFF;">{{#external_value:movetype}}</span>]]</td> |
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.