Template:MTP: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
{{#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}}}} | ||
<tr style="background-color:#FFFFFF;"> | <tr style="background-color:#FFFFFF;"> | ||
<td>{{#external_value:number-{{{Name}}}}}</td> | <td>{{#external_value:number-{{{Name}}}}}</td> |
Revision as of 06:46, 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.