(Created page with "|- class="container-{{{1}}}" | class="{{{1}}}" | {{{2}}} | class="{{{1}}}" | {{{3}}} | class="{{{1}}}" | [[File:{{{1}}}.gif|link={{{1}}}|{{{1}}}]] | class="{{{1}}}" | {{{4}}}...") |
(documentation) |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
|- class="container-{{{1}}}" | <includeonly>|- class="container-{{{1}}}" | ||
| class="{{{1}}}" | {{{2}}} | | class="{{{1}}}" | {{{2}}} | ||
| class="{{{1}}}" | [[File:{{{1}}}.gif|link={{{1}}}|{{{1}}}]] | | class="{{{1}}}" | [[File:{{{1}}}.gif|link={{{1}}}|{{{1}}}]] | ||
| class="{{{1}}}" data-sort-value="{{{3}}}" | [[File:Pmoney.gif|Pokémoney]]{{{3}}} | |||
| class="{{{1}}}" | {{{4}}} | | class="{{{1}}}" | {{{4}}} | ||
| class="{{{1}}}" | {{{5}}} | | class="{{{1}}}" | {{{5}}} | ||
| class="{{{1}}}" | [[File:{{{6}}}.png|{{{6}}}]] | | class="{{{1}}}" | [[File:{{{6}}}.png|{{{6}}}]]</includeonly><noinclude>{{Documentation}}</noinclude> | ||
Latest revision as of 23:46, 28 October 2025
Template:AttackRow creates a table row with information about a Pokémon attack. It should be used in conjunction with Template:AttackTable.
Usage
{{AttackRow|<type>|<attack name>|<cost>|<power>|<accuracy>|<move category>}}
- The first parameter is the attack's type.
- The second parameter is the attack's name.
- The third parameter is the cost of purchasing the attack (in Pokédollars). Do not include the Pokédollar symbol – it is added automatically.
- The fourth parameter is the attack's power.
- The fifth parameter is the attack's accuracy as a percentage (include the percent sign).
- The sixth parameter is the attack's category. The value should be either Physical or Special.
This template should be wrapped inside Template:AttackTable, which creates the table header as shown below.
Example
{{AttackTable|
{{AttackRow|fire|Armor Cannon|90,000|120|100%|Special}}
{{AttackRow|electric|Zippy Zap|37,500|50|100%|Physical}}
}}
Produces:
| Attack | Type | Price | Power | Accuracy | Category |
|---|---|---|---|---|---|
| Armor Cannon | 120 | 100% | |||
| Zippy Zap | 50 | 100% |