Template:MTP: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
<includeonly>
<includeonly>
<tr style="background-color:#FFFFFF;">
<tr style="background-color:#FFFFFF;">
{{#iferror:{{#external_value:number-{{{Name}}}}}|{{#get_web_data:url=http://prowiki.info/index.php?title=Special:GetData/PokemonRawList|format=CSV with header|filters=Name={{{Name}}}|data=number-{{{Name}}}=Pokedex Number,name-{{{Name}}}=Name,type1-{{{Name}}}=Type1,type2-{{{Name}}}=Type2}}}}
{{#iferror:{{#external_value:number-{{{Name}}}}}|{{#get_web_data:url=http://prowiki.info/index.php?title=Special:GetData/PokemonRawList|format=CSV with header|filters=Name={{{Name}}}|data=number-{{{Name}}}=Pokedex Number,name-{{{Name}}}=Name,type1-{{{Name}}}=Type1,type2-{{{Name}}}=Type2}}|}}
<td>{{#external_value:number-{{{Name}}}}}</td>
<td>{{#external_value:number-{{{Name}}}}}</td>
<td>[[File:{{#external_value:number-{{{Name}}}}}Icon.png]]</td>
<td>[[File:{{#external_value:number-{{{Name}}}}}Icon.png]]</td>

Revision as of 07:04, 2 May 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.