Template:ItemInfobox/head
From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
| ||||
| ||||
|
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
This template is used to build an infobox for an item page. For details on this construction and what can be added to the infobox, see Usage.
Parameters
- Named
- colorscheme: a color from color templates that has dark and light versions (e.g., "fire" will use
{{fire color}}
,{{fire color dark}}
, and{{fire color light}}
) - name: the name of the item; used for the top text and displaying the default sprite and art (the default for sprites is:
[series]Bag [name] Sprite.png
, for art:Dream [name] Sprite.png
) - jname: the Japanese name of the item
- jtrans: the translation of the Japanese name
- series (optional): a series identifier to change the sprite used (e.g.,
MD
for Mystery Dungeon games, see name/sprite explanations) - sprite (optional): overrides name if name does not point to the right sprite image (the image used is
[series]Bag [sprite] Sprite.png
); if "None" is used, the sprites will be hidden - sprite2 (optional): displays a second sprite image (if sprite2 is not used, only one sprite will be shown)
- art (optional): overrides the art image if name does not point to the right image (the image used is
[art].png
); if "None" is used, the art will be hidden - size (optional): the size to display the main art image at
- art2 (optional): displays a second art image (if art2 is not used, only one art image will be shown)
- size2 (optional): the size to display the art2 image at
- caption (optional): a caption for the art image; defaults to
Pokémon Global Link artwork
- gen: the generation the item was introduced in (e.g., "I", "IX", etc)
- fling (optional): whether Fling data will be included ("yes"/"no")
- cat (optional): overrides the categories added by this template, mainly meant to be set to blank to suppress them; defaults to
[[Category:Items introduced in Generation {gen}]]
Usage
This template ({{ItemInfobox/head}}
) is always used to start an item infobox; {{ItemInfobox/foot}}
should always be used to end one.
Between the header and footer templates, any of the following templates can be added. BagRow
and BagRowBottom
should always be used, but others are only used for some items. If multiple templates apply, add them in this order.
- (
{{ItemInfobox/BagRow}}
: information about what pocket an item was stored in in a given generation - (
{{ItemInfobox/BagRowBottom}}
: same asBagRow
, but should be used for the last/only pocket row (if this is not used afterhead
,foot
will not close the infobox properly) - (
{{ItemInfobox/Flavor}}
: use for Berries to start the section detailing its flavors (usingFlavorRow
) - (
{{ItemInfobox/FlavorRow}}
: information about a Berry's flavors in a given generation - (
{{ItemInfobox/NaturalGift}}
: information about an item's Natural Gift effect, if the item existed in Generation IV or Generation V - (
{{ItemInfobox/NaturalGift/6}}
: information about an item's Natural Gift effect, if the item debuted in Generation VI or later - (
{{ItemInfobox/Fling}}
: information about an item's Fling effect, if it only does damage - (
{{ItemInfobox/FlingEffect}}
: information about an item's Fling effect, if it has an effect in addition to damage
(See also Special:PrefixIndex/Template:ItemInfobox/.)
Examples
This section is incomplete. Please feel free to edit this section to add missing information and complete it. Reason: More examples... |
In any examples below, if you are copying the code for a mainspace page, remove all occurrences of |cat=
.
Simplified Cheri Berry.
| |||||
| |||||
|
{{ItemInfobox/head|cat= |name=Cheri Berry |jname=クラボのみ |jtrans=Kurabo Fruit |gen=III |colorscheme=Berries |fling=no }} {{ItemInfobox/BagRowBottom|IX|Berries}} {{ItemInfobox/foot}}