Template:ItemInfobox/BagRow

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search

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



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 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
Bag Cheri Berry Sprite.png
Cheri Berry
Pokémon Global Link artwork
Introduced in Generation III
Pocket
Generation III Bag Berries pocket icon.png Berries (RSE)
Generation III Bag Berry Pouch pocket icon.png Berry Pouch (FRLG)
Generation IV Bag Berries pocket icon.png Berries
Generation V Bag Berries pocket icon.png Berries
Generation VI Bag Berries pocket icon.png Berries
Generation VII Bag Berries pocket icon.png Berries
Generation VIII Bag Berries pocket icon.png Berries (SwShBDSP)
Generation VIII Bag Items pocket icon.png Items (LA)
Generation IX Bag Berries pocket icon.png 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}}
|}