Template:OverworldPokemon: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
Cae (talk | contribs)
mNo edit summary
Cae (talk | contribs)
No 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=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}}
<includeonly>{{#get_file_data:source=data|file name=PokemonRawList.csv|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;">

Latest revision as of 15:36, 1 October 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.