Template:Infobox plant: Difference between revisions
From Pikmin Fanon
mNo edit summary |
mNo edit summary |
||
Line 15: | Line 15: | ||
|- | |- | ||
{{#if:{{{nofamily|}}}||! width="40%" style="background: #e6e9ff;" {{Pipe}} Family | {{#if:{{{nofamily|}}}||! width="40%" style="background: #e6e9ff;" {{Pipe}} Family | ||
{{!}} {{#if:{{{nocat|}}}|{{{family}}}|{{#if:{{{family|}}}|[[{{{family}}} family|{{{family}}}]]{{#if:{{{af|}}}| {{tt|(assumed)|This canon 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.}}}}{{#if:{{{fanfam|}}}| {{tt|(unofficial)|This canon plant's family is fan-made or fan-given, and is not canonical or official.}}}}|Unknown}}}}}} | {{!}} {{#if:{{{nocat|}}}|{{{family}}}|{{#if:{{{family|}}}|{{#if:{{{displayfam|}}}|[[{{{family}}} family|{{{displayfam}}}]]|[[{{{family}}} family|{{{family}}}]]}}{{#if:{{{af|}}}| {{tt|(assumed)|This canon 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.}}}}{{#if:{{{fanfam|}}}| {{tt|(unofficial)|This canon plant's family is fan-made or fan-given, and is not canonical or official.}}}}|Unknown}}}}}} | ||
|- | |||
|- | |- | ||
{{#if:{{{areas|}}}|! width="40%" style="background: #e6e9ff;" {{Pipe}} [[Area]]s | {{#if:{{{areas|}}}|! width="40%" style="background: #e6e9ff;" {{Pipe}} [[Area]]s | ||
Line 70: | Line 71: | ||
|- | |- | ||
! icon | ! icon | ||
| No || || If the plant has an icon, specify its image here, extension included. If the icon is a placeholder, place <nowiki>[[File:Dummy | | No || || If the plant has an icon, specify its image here, extension included. If the icon is a placeholder, place <nowiki>[[File:Dummy plant icon.png]]</nowiki> here. | ||
|- | |- | ||
! name | ! name | ||
Line 77: | Line 78: | ||
! family | ! family | ||
| No || Unknown || Family name, without the word "family". If the family is unknown, omit. If nocat is defined, then nofamily should be also, if the family is unknown. | | No || Unknown || Family name, without the word "family". If the family is unknown, omit. If nocat is defined, then nofamily should be also, if the family is unknown. | ||
|- | |||
! displayfam | |||
|No || || Displayed family name. If the plant is part of a family but displaying the family with a different name is desired, type it here. | |||
|- | |- | ||
! af | ! af | ||
Line 94: | Line 98: | ||
|- | |- | ||
! produce | ! produce | ||
| No || 5 || For Candypop Buds only; maximum Pikmin seeds produced (e.g.: "5 | | No || 5 || For Candypop Buds only; maximum Pikmin seeds produced (e.g.: "5 Red Pikmin"). | ||
|- | |- | ||
! noicon | ! noicon | ||
Line 122: | Line 126: | ||
|name= | |name= | ||
|family= | |family= | ||
|displayfam= | |||
|af= | |af= | ||
|fanfam= | |fanfam= |
Revision as of 19:03, 19 January 2022
Infobox plant | |
---|---|
width="40%" style="background: #e6e9ff;" Template:Pipe Scientific name | Unknown |
width="40%" style="background: #e6e9ff;" Template:Pipe Family | Unknown |
Info
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 Category:Vegetation, 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 |
---|---|---|---|
pikmin1 | No | If this plant 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. | |
heypik | No | Same as above, but Hey! Pikmin. | |
pikadv | No | Same as above, but Pikmin Adventure. | |
plantname | No | {{PAGENAME}} | If the name of the plant is different from the title of the page, specify it here. |
image | No | Image for the infobox, extension included. | |
size | No | The image's size. | |
caption | No | The image's caption, if needed. | |
icon | No | If the plant has an icon, specify its image here, extension included. If the icon is a placeholder, place [[File:Dummy plant icon.png]] here. | |
name | Yes | Unknown | Scientific name. |
family | No | Unknown | Family name, without the word "family". If the family is unknown, omit. If nocat is defined, then nofamily should be also, if the family is unknown. |
displayfam | No | Displayed family name. If the plant is part of a family but displaying the family with a different name is desired, type it here. | |
af | No | Assumed family. If the plant's family is not official, but rather, an assumption, give this a value, like "y". | |
fanfam | No | Fan-made family. If the plant's family is fan-made, give this a value, like "y". | |
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. |
produce | No | 5 | For Candypop Buds only; maximum Pikmin seeds produced (e.g.: "5 Red Pikmin"). |
noicon | No | Giving this a value like "y" disables the display of game icons, to avoid conflicts with other templates. | |
nocat | No | Giving this a value like "y" makes the template not auto-categorize the plant (for instance, for objects that aren't enemies, like eggs). | |
nofamily | No | Giving this a value like "y hides the family attribute (for instance, for objects that aren't enemies, like eggs). |
Skeleton
{{infobox plant |pikmin1= |pikmin2= |pikmin3= |heypik= |pikadv= |plantname= |image= |size= |caption= |icon= |name= |family= |displayfam= |af= |fanfam= |areas= |underground= |challenge= |produce= |noicon= |nocat= |nofamily= }}