Template:ItemInfobox/BagRow

|- ! style="background: #9DC1B7" width=50% class="blacklinks" | Generation ? | style="background: #fff; white-space:nowrap" width=50% | Unknown


Template documentation
Note: portions of the template sample may not be visible without values provided.

This template is for building an infobox on an item page (started with {{ItemInfobox/head}}). It adds information about which Bag pockets the item is stored in in different generations.

Parameters

Unnamed
  • 1: The generation this row of pocket data is about.
  • 2: The pocket that the item (the page this template is used on) belongs to in the specified generation; used for the default color scheme, the pocket icon and text, and the default category.
Named
  • colorscheme (optional): Overrides the color scheme to be used for this row; defaults to [parameter 1] color light (see color templates).
  • group (optional): If this row does not apply to the whole generation: the game or games this row of pocket data is about (usually entered with gameabbrev templates).
    • game (optional): To use a pocket icon from a specific game (example: from BDSP, from SV), put the game abbreviation here and the file displayed will change accordingly.
  • pocket (optional): overrides the pocket used to add a category, adding the page to the category [pocket] Pocket (see Items by pocket); defaults to parameter 1.
  • cat (optional): an override for the category added by this template; mainly meant to be used to suppress the category with |cat=.

Usage

This template can be used multiple times to add information about multiple generations/games. The first instance of this template should be immediately preceded by {{ItemInfobox/head}}. The last (or only) row of pocket information should use {{ItemInfobox/BagRowBottom}}.

Example

Simplified Cheri Berry.

Cheri Berry
クラボのみ
Kurabo Fruit
Cheri Berry
Pokémon Global Link artwork
Introduced in Generation III
Pocket
Generation III Berries (RSE)
Generation III Berry Pouch (FRLG)
Generation IV Berries
Generation V Berries
Generation VI Berries
Generation VII Berries
Generation VIII Berries (SwShBDSP)
Generation VIII Items (LA)
Generation IX Berries
{{ItemInfobox/head|cat=
|name=Cheri Berry
|jname=クラボのみ
|jtrans=Kurabo Fruit
|gen=III
|colorscheme=Berries
|fling=yes
}}
{{ItemInfobox/BagRow|cat=|III|Berries|group={{gameabbrev3|RSE}}}}
{{ItemInfobox/BagRow|cat=|III|Berry Pouch|group={{gameabbrev3|FRLG}}|pocket=Berries Pocket}}
{{ItemInfobox/BagRow|cat=|IV|Berries}}
{{ItemInfobox/BagRow|cat=|V|Berries}}
{{ItemInfobox/BagRow|cat=|VI|Berries}}
{{ItemInfobox/BagRow|cat=|VII|Berries}}
{{ItemInfobox/BagRow|cat=|VIII|Berries|group={{gameabbrev8|SwShBDSP}}}}
{{ItemInfobox/BagRow|cat=|VIII|Items|group={{gameabbrev8|LA}}|colorscheme=Berries}}
{{ItemInfobox/BagRowBottom|cat=|IX|Berries}}
|}