Template:BadgeInfobox/doc
{{BadgeInfobox}} is the infobox for badges.
Usage
Infoboxes should be used at the beginning of the page, before any introductory text.
Parameters
All parameters are case sensitive.
| Parameter | Allowed values | Notes |
|---|---|---|
| ! name | String | The name of the badge in English |
| jname | String | The name of the badge in Japanese |
| jtrans | String | The translation of the Japanese name |
| color | Color template name | The color of the background elements of the infobox, usually the dominant type of the Gym the badge belongs to |
| image | Filename | The name of the image to use for this badge, if the default <name>.png is not adequate
|
| size | Filesize | The size to set the image to |
| caption | String | A caption for the image |
| giver | String | The name of the person who gives this badge. Only works if there's only one giver, and if their article title is exactly their name; otherwise, use <givers>
|
| givers | Wikitext | Overrides the giver parameter to input any wikitext for the Givers data |
| cap | String | The maximum level of Pokémon that will obey the player after obtaining this badge |
| move | String | The name of the field move that can be used outside of battle after obtaining this badge; if there is no such move, do not use this field |
| tmhm | String | The name of the HM or TM that grants the field move |
| fieldmove | Wikitext | Custom wikitext for the Field move data, if a single field move and HM/TM is not adequate |
| stat | Attack • Defense • Special Attack • Special Defense • Speed
|
The stat(s) that is increased upon obtaining this badge; if no stat is increased, do not use this parameter |
| prev | String | The manual link to the badge that comes before this one. The order can usually be seen on Trainer Cards. If this is the first badge, do not use this parameter |
| next | String | The manual link to the badge that comes after this one. The order can usually be seen on Trainer Cards. If this is the last badge, do not use this parameter |
TemplateData
Displays basic information about a badge
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Badge name | name | The name of the badge in English | Line | required |
| Badge name (JP) | jname | The name of the badge in Japanese | String | required |
| Translated name | jtrans | The translation of the Japanese name | String | required |
| Background color | color | The color of the background elements of the infobox, usually the dominant type of the Gym the badge belongs to
| Line | required |
| Image | image | The name of the image to use for this badge, if the default <name>.png is not adequate
| File | suggested |
| Image size | size | The size to set the image to
| Line | optional |
| Image caption | caption | A caption for the image | String | suggested |
| Giver | giver | The name of the person who gives this badge. Only works if there's only one giver, and if their article title is exactly their name; otherwise, use <givers> | Line | suggested |
| Custom givers | givers | Overrides the giver parameter to input any wikitext for the Givers data | String | optional |
| Obedience cap | cap | The maximum level of Pokémon that will obey the player after obtaining this badge
| String | required |
| Field move | move | The name of the field move that can be used outside of battle after obtaining this badge; if there is no such move, do not use this field
| String | suggested |
| HM/TM | tmhm | The name of the HM or TM that grants the field move | String | suggested |
| Custom field move | fieldmove | Custom wikitext for the Field move data, if a single field move and HM/TM is not adequate
| String | optional |
| Increased stats | stat | The stat(s) that is increased upon obtaining this badge; if no stat is increased, do not use this parameter
| Line | suggested |
| Previous badge | prev | The link to the badge that comes before this one. The order can usually be seen on Trainer Cards. If this is the first badge, do not use this parameter | Line | suggested |
| Next badge | next | The link to the badge that comes after this one. The order can usually be seen on Trainer Cards. If this is the last badge, do not use this parameter | Line | suggested |
Examples
| Givers | Brock |
|---|---|
| Obedience cap | Lv. 20PE |
| Field move | Flash (HM05) |
| Increased stats | AttackRGBYFRLG |
{{BadgeInfobox
|name=Boulder Badge
|jname=グレーバッジ
|jtrans=Gray Badge
|color=rock
|giver=Brock
|move=Flash
|tmhm=HM05
|cap=Lv. 20{{sup/7|PE}}
|stat=Attack{{sup/1|RGBY}}{{sup/3|FRLG}}
|next=[[Cascade Badge]]
}}
{{BadgeInfobox
|name=Basic Badge
|jname=ベーシックバッジ
|jtrans=Basic Badge
|color=normal
|givers=[[Lenora]]{{sup/5|BW}}<br>[[Cheren]]{{sup/5|B2W2}}
|cap=Lv. 30{{sup/5|BW}}<br>Lv. 20{{sup/5|B2W2}}
|prev=[[Trio Badge]]{{sup/5|BW}}
|next=[[Insect Badge]]{{sup/5|BW}}<br>[[Toxic Badge]]{{sup/5|B2W2}}
}}
{{BadgeInfobox
|name=Star Badge
|jname=ダンバッジ
|jtrans=Team Badge
|image=SVbadge StarfallStreet Fighting.png
|color=fighting
|giver=Eri
|cap=No change
|prev=[[Titan Badge (Dragon)]]
}}
