Template:ItemInfobox/FlavorRow
|- | style="background: #fff" |
Generation {{{1}}} | ||||||
---|---|---|---|---|---|---|
SPICY | DRY | SWEET | BITTER | SOUR | SMOOTH | |
{{{2}}} | {{{3}}} | {{{4}}} | {{{5}}} | {{{6}}} | {{{7}}} |
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}}
). This template adds flavor information for Berry pages.
Parameters
- Unnamed
- 1: the Generation ordinal ("I", "V", "IX", etc)
- 2-7: flavor values (in order: Spicy, Dry, Sweet, Bitter, Sour, Smooth)
- 8: if this is the last row of flavor data, set this value to "bottom" (or any non-empty value) to make the bottom round.
Usage
When Berries have different flavor profiles in different generations, this template may be used multiple times for each game. Before the first call, {{ItemInfobox/Flavor}}
should be used. On the last call of this template, set parameter 8 by adding "|bottom" after the last flavor data. (Prior uses of the template do not need to use parameter 8.)
Example
Simplified Cheri Berry. {{ItemInfobox/Flavor}}
comes before the first FlavorRow and the last FlavorRow ends with an extra "bottom" value.
{{ItemInfobox/head|cat= |name=Cheri Berry |jname=クラボのみ |jtrans=Kurabo Fruit |gen=III |colorscheme=Berries |fling=yes }} {{ItemInfobox/Flavor}} {{ItemInfobox/FlavorRow|III|10|0|0|0|0|25}} {{ItemInfobox/FlavorRow|IV/VIII|10|0|0|0|0|25|bottom}} |}
| ||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||
|