Template:MTP: Difference between revisions
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= | {{#replace:'||{{#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,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 21:53, 16 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.