Template:ItemInfobox/head

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
Cancel
???
???
Bag Cancel Sprite.png
Cancel
Pokémon Global Link artwork
Introduced in Generation 0
Pocket



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.

(See also Special:PrefixIndex/Template:ItemInfobox/.)

Examples

050Diglett.png 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.

Cheri Berry
クラボのみ
Kurabo Fruit
Bag Cheri Berry Sprite.png
Cheri Berry
Pokémon Global Link artwork
Introduced in Generation III
Pocket
Generation IX Bag Berries pocket icon.png Berries
{{ItemInfobox/head|cat=
|name=Cheri Berry
|jname=クラボのみ
|jtrans=Kurabo Fruit
|gen=III
|colorscheme=Berries
|fling=no
}}
{{ItemInfobox/BagRowBottom|IX|Berries}}
{{ItemInfobox/foot}}