Template:Infobox plant: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
(Added custom icon.)
m (Simplifying template.)
Line 19: Line 19:
! Family
! Family
| {{#if:{{{nocat|}}}|{{{family}}}|{{#if:{{{family|}}}|[[{{{family}}} family|{{{family}}}]]|Unknown}}}}
| {{#if:{{{nocat|}}}|{{{family}}}|{{#if:{{{family|}}}|[[{{{family}}} family|{{{family}}}]]|Unknown}}}}
{{#if:{{{psize|}}}|{{!}}-
|-
! {{tt|Size|Value listed on its e-card.}}
{{#if:{{{psize|}}}|! {{tt|Size|Value listed on its e-card.}}
{{!}} {{{psize}}}
{{!}} {{{psize}}} }}
}}
|-
|-
! [[Areas]]
! [[Areas]]
Line 28: Line 27:
|-
|-
{{#if:{{{pikmin2|}}}|! [[Cave]]s
{{#if:{{{pikmin2|}}}|! [[Cave]]s
{{!}} {{{underground|None}}}
{{!}} {{{underground|None}}} }}
{{!}}-}}
|-
{{#if:{{{pikmin|{{{pikmin2|}}}}}}|! [[Challenge Mode]] levels
{{#if:{{{pikmin|{{{pikmin2|}}}}}}|! [[Challenge Mode]] levels
{{!}} {{{challenge|None}}}
{{!}} {{{challenge|None}}} }}
{{!}}-}}
|-
{{#if:{{{pikmin3|}}}|! [[Mission Mode#Collect treasure!|Collect treasure!]] levels
{{#if:{{{pikmin3|}}}|! [[Mission Mode#Collect treasure!|Collect treasure!]] levels
{{!}} {{{missionct|None}}}
{{!}} {{{missionct|None}}} }}
{{!}}-}}
|-
{{#if:{{{pikmin3|}}}|! [[Mission Mode#Battle enemies!|Battle enemies!]] levels
{{#if:{{{pikmin3|}}}|! [[Mission Mode#Battle enemies!|Battle enemies!]] levels
{{!}} {{{missionbe|None}}}
{{!}} {{{missionbe|None}}} }}
{{!}}-}}
|-
{{#if:{{{pikmin2|}}}|! [[2-Player Battle]] levels
{{#if:{{{pikmin2|}}}|! [[2-Player Battle]] levels
{{!}} {{{2p|None}}}
{{!}} {{{2p|None}}} }}
{{!}}-}}
|-
{{#if:{{{pikmin3|}}}|! [[Bingo Battle]] levels
{{#if:{{{pikmin3|}}}|! [[Bingo Battle]] levels
{{!}} {{{bingo|None}}}
{{!}} {{{bingo|None}}} }}
{{!}}-}}
|-
{{#if:{{{produce|}}}|! [[Pikmin family|Pikmin]] produced
{{#if:{{{produce|}}}|! [[Pikmin family|Pikmin]] produced
{{!}} {{{produce}}} }}
{{!}} {{{produce}}} }}
{{#if:{{{pikmin2|}}}|{{!}}-
|-
! [[Piklopedia]] #
{{#if:{{{pikmin2|}}}|! [[Piklopedia]] #
{{!}} {{#if:{{{piklopedia|}}}|#{{{piklopedia}}}|N/A}}
{{!}} {{#if:{{{piklopedia|}}}|#{{{piklopedia}}}|N/A}} }}
}}
|}<includeonly>{{#if:{{{family|}}}|[[Category:{{{family}}} family]]|[[Category:Plants and fungi with no known family]]}}{{#if:{{{pikmin|}}}
|}<includeonly>{{#if:{{{family|}}}|[[Category:{{{family}}} family]]|[[Category:Plants and fungi with no known family]]}}{{#if:{{{pikmin|}}}
|[[Category: Pikmin 1 vegetation]]}}{{#if:{{{pikmin2|}}}
|[[Category: Pikmin 1 vegetation]]}}{{#if:{{{pikmin2|}}}

Revision as of 07:08, June 6, 2016

Infobox plant
Appears in
Scientific name Unknown
Family Unknown
Areas None

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 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).

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.
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.
psize No Size of the plant as it appears on the e-card. Example: "Length: {{mm|50}}".
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").
piklopedia No N/A Piklopedia number.
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     = 
|image       = 
|size        = 
|caption     = 
|icon        = 
|custom_icon = 
|name        = 
|family      = 
|psize       = 
|areas       = 
|underground = 
|challenge   = 
|missionct   = 
|missionbe   = 
|2p          = 
|bingo       = 
|produce     = 
|piklopedia  = 
|plant_name  = 
|noicons     = 
}}