Template:MTP: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
Optimized the if-block nest with the advent of the pre-declared STAB flag.
m Text replacement - "pro-wiki" to "prowiki"
Line 4: Line 4:
</noinclude>
</noinclude>
<includeonly>
<includeonly>
{{#get_web_data:url=http://pro-wiki.info/index.php?title=Special:GetData/PokemonRawList|format=CSV with header|filters=Name={{{Name}}}|data=number=Pokedex Number,name=Name,type1=Type1,type2=Type2}}
{{#get_web_data:url=http://prowiki.info/index.php?title=Special:GetData/PokemonRawList|format=CSV with header|filters=Name={{{Name}}}|data=number=Pokedex Number,name=Name,type1=Type1,type2=Type2}}
<tr style="background-color:#FFFFFF;">
<tr style="background-color:#FFFFFF;">
<td>{{#external_value:number}}</td>
<td>{{#external_value:number}}</td>

Revision as of 01:29, 16 March 2017

Use this in tandem with Template:MoveTableGeneric to construct the move-data rows in it.

The only argument needed is the Pokemon's name; the rest of the Pokemon-relevant data will be gleaned from PokemonRawList.