Template:PTANRow: Difference between revisions
Jump to navigation
Jump to search
Augmented the Ab parameter to expand the argument's cardinality. |
m Overhauled the external_data function in favor of the newly architected template. |
||
Line 1: | Line 1: | ||
<noinclude>Use this in tandem with [[Template:PokemonTableAbNat]] to construct the tabular contents in it. The parameters are {{{Ab}}} (defaults to Ability 1) and {{{Nat}}}.</noinclude> | <noinclude>Use this in tandem with [[Template:PokemonTableAbNat]] to construct the tabular contents in it. The parameters are {{{Ab}}} (defaults to Ability 1) and {{{Nat}}}.</noinclude> | ||
<includeonly> | <includeonly>{{#vardefine:PokemonNo|{{PokemonNo|{{{Pokemon}}}}}}} | ||
{{# | |||
<tr style="background-color:#FFFFFF; color:#000000;"> | <tr style="background-color:#FFFFFF; color:#000000;"> | ||
<td>#{{padleft:{{# | <td>#{{padleft:{{#var:PokemonNo}}|3}}</td> | ||
<td>[[File:{{# | <td>[[File:{{#var:PokemonNo}}Icon.png]]</td> | ||
<td>[[{{ | <td>[[{{{Pokemon}}}]]</td> | ||
<td>{{#arrayprint:abilities|, |ab|{{Ab|ab}}}}</td> | <td>{{#arrayprint:abilities|, |ab|{{Ab|ab}}}}</td> | ||
<td>{{{Nat|Jolly, Naive, Adamant, Hasty}}}</td> | <td>{{{Nat|Jolly, Naive, Adamant, Hasty}}}</td> | ||
</tr> | </tr> | ||
</includeonly> | </includeonly> |
Revision as of 18:29, 26 September 2023
Use this in tandem with Template:PokemonTableAbNat to construct the tabular contents in it. The parameters are {{{Ab}}} (defaults to Ability 1) and {{{Nat}}}.