Template:Infobox plant: Difference between revisions
Jump to navigation
Jump to search
(Added Pikmin Adventure option) Tag: Mobile edit |
m (Fixed some problems, matching it up with the enemy infobox more.) Tag: Mobile edit |
||
Line 12: | Line 12: | ||
{{!}}- }} | {{!}}- }} | ||
! style="width: 30%;" | Appears in | ! style="width: 30%;" | Appears in | ||
| {{#if:{{{pikmin|}}}|{{p1}}{{#if:{{{pikmin2|}}}{{{pikmin3|}}}{{{hey_pikmin|}}}{{{pikmin_adventure|}}}|, }}}}{{#if:{{{pikmin2|}}}|{{p2}}{{#if:{{{pikmin3|}}}{{{hey_pikmin|}}}|, }}}}{{#if:{{{pikmin3|}}}|{{p3}}{{#if:{{{hey_pikmin|}}}|, }}}}{{#if:{{{hey_pikmin|}}}|{{hp}}{{#if:{{{pikmin_adventure|}}}|, }}}}{{#if:{{{pikmin_adventure|}}}|{{pa}}}} | | {{#if:{{{pikmin|}}}|{{p1}}{{#if:{{{pikmin2|}}}{{{pikmin3|}}}{{{hey_pikmin|}}}{{{pikmin_adventure|}}}|, }}}}{{#if:{{{pikmin2|}}}|{{p2}}{{#if:{{{pikmin3|}}}{{{hey_pikmin|}}}|, }}}}{{#if:{{{pikmin3|}}}|{{p3}}{{#if:{{{hey_pikmin|}}}|, }}}}{{#if:{{{hey_pikmin|}}}|{{hp}}{{#if:{{{pikmin_adventure|}}}|, }}}}{{#if:{{{pikmin_adventure|}}}|{{pa}}|N/A}} | ||
|- | |- | ||
! Scientific name | ! Scientific name | ||
| {{#if:{{{name|}}}|''{{{name|}}}''|Unknown}} | | {{#if:{{{name|}}}|''{{{name|}}}''|Unknown}} | ||
|- | |- | ||
! Family | {{#if:{{{nofamily|}}}||! Family | ||
{{!}} {{#if:{{{nocat|}}}|{{{family}}}|{{#if:{{{family|}}}|[[{{{family}}} family|{{{family}}}]]{{#if:{{{af|}}}| {{tt|(assumed)|This plant's official family is not known, but it can only be assumed that this is its family, given that it is so similar to other members.}}}}|Unknown}}}}}} | |||
|- | |- | ||
! [[Areas]] | ! [[Areas]] | ||
Line 46: | Line 46: | ||
|[[Category:Pikmin 1 vegetation]]}}{{#if:{{{pikmin2|}}} | |[[Category:Pikmin 1 vegetation]]}}{{#if:{{{pikmin2|}}} | ||
|[[Category:Pikmin 2 vegetation]]}}{{#if:{{{pikmin3|}}} | |[[Category:Pikmin 2 vegetation]]}}{{#if:{{{pikmin3|}}} | ||
|[[Category:Pikmin 3 vegetation]]}}{{#if:{{{ | |[[Category:Pikmin 3 vegetation]]}}{{#if:{{{hey_pikmin|}}} | ||
|[[Category:Hey! Pikmin vegetation]]}}</includeonly><noinclude> | |[[Category:Hey! Pikmin vegetation]]}} | ||
</includeonly><noinclude> | |||
{{clear}} | {{clear}} |
Revision as of 16:47, June 24, 2019
Infobox plant | |
---|---|
Appears in | N/A |
Scientific name | Unknown |
Family | Unknown |
Areas | None |
Info
To do: Program a "no family" option, just like in the infobox enemy template. |
Place this at the top of plant and fungus articles. It creates an information box with data about the plant or fungus.
Pages with this template are automatically categorized under the corresponding family category, and list of vegetation in the corresponding game(s) (Category:Pikmin 1 vegetation, Category:Pikmin 2 vegetation, Category:Pikmin 3 vegetation, Category:Hey! Pikmin vegetation).
Parameters
Parameter | Mandatory | Default | Detailed description |
---|---|---|---|
pikmin | No | If this plant/fungus appears in Pikmin, give this a value, like "y". | |
pikmin2 | No | Same as above, but Pikmin 2. | |
pikmin3 | No | Same as above, but Pikmin 3. | |
heypikmin | No | Same as above, but Hey! Pikmin. | |
image | No | The image name, including extension. | |
size | No | 200px | The image's size. |
caption | No | The image's caption, if needed. | |
icon | No | If it has an icon, specify its filename on the wiki here. | |
custom_icon | No | If the icon was custom-made, give this a value, like "y". Otherwise, it's assumed to be the Piklopedia icon. | |
name | No | Unknown | Scientific name. |
family | No | Unknown | Family name. Omit if unknown. |
areas | No | None | Areas in which it appears. |
underground | No | None | Caves in which it appears. |
challenge | No | None | Challenge Mode levels in which it appears. This is both for Pikmin and Pikmin 2. |
missionct | No | None | Collect treasure! levels in which it appears. |
missionbe | No | None | Battle enemies! levels in which it appears. |
2p | No | None | 2-Player Battle levels in which it appears. |
bingo | No | None | Bingo Battle levels in which it appears. |
produce | No | For Candypop Buds only – maximum Pikmin seeds produced (e.g.: "5 red"). | |
plant_name | No | {{PAGENAME}} | If the plant/fungus name differs from the page name, specify it here. |
noicons | No | If this has a value, like "y", disable auto {{game icons}} (to avoid conflicts with other templates). |
Skeleton
{{infobox plant |pikmin = |pikmin2 = |pikmin3 = |heypikmin = |image = |size = |caption = |icon = |custom_icon = |name = |family = |areas = |underground = |challenge = |missionct = |missionbe = |2p = |bingo = |produce = |plant_name = |noicons = }}