Template:ItemInfobox/BagRowBottom
|- ! style="background: #9DC1B7" width=50% class=roundybl | Generation ? | style="background: #fff; white-space:nowrap" width=50% class=roundybr | 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.
This template is the same as {{ItemInfobox/BagRow}}
except that makes its bottom edge round, in accordance with its intended use as the last row of pocket data.
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
{{ItemInfobox/BagRow}}
can be used multiple times to add information about multiple generations/games. The last (or only) row of pocket information should use this template ({{ItemInfobox/BagRowBottom}}
).
Example
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=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}} |}