Template:Infobox plant: Difference between revisions

Added Hey! Pikmin.
m (Simplifying template.)
(Added Hey! Pikmin.)
Line 1: Line 1:
{{#if:{{{noicons|}}}||{{game icons|pikmin={{{pikmin|}}}|pikmin2={{{pikmin2|}}}|pikmin3={{{pikmin3|}}}}}}}
{{#if:{{{noicons|}}}||{{game icons|p={{{pikmin|}}}|p2={{{pikmin2|}}}|p3={{{pikmin3|}}}|hp={{{hey_pikmin|}}}}}}}
{| class="infobox"
{| class="infobox"
! colspan="2" class="infoboxTitle" | {{#if:{{{icon|}}} |
! colspan="2" class="infoboxTitle" | {{#if:{{{icon|}}} |
Line 12: Line 12:
{{!}}- }}
{{!}}- }}
! style="width: 30%;" | Appears in
! style="width: 30%;" | Appears in
| {{#if:{{{pikmin|}}}|[[Pikmin (game)|''Pikmin'']]{{#if:{{{pikmin2|}}}|, |{{#if:{{{pikmin3|}}}|, }}}}}}{{#if:{{{pikmin2|}}}|''[[Pikmin 2]]''{{#if:{{{pikmin3|}}}|, }}}}{{#if:{{{pikmin3|}}}|''[[Pikmin 3]]''}}
| {{#if:{{{pikmin|}}}|{{p1}}{{#if:{{{pikmin2|}}}{{{pikmin3|}}}{{{hey_pikmin|}}}|, }}{{#if:{{{pikmin2|}}}|{{p2}}{{#if:{{{pikmin3|}}}{{{hey_pikmin|}}}|, }}}}{{#if:{{{pikmin3|}}}|{{p3}}{{#if:{{{hey_pikmin|}}}|, }}{{#if:{{{hey_pikmin|}}}|{{hp}}}}
|-
|-
! Scientific name
! Scientific name
Line 50: Line 50:
{{!}} {{#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|}}}
|[[Category: Pikmin 2 vegetation]]}}{{#if:{{{pikmin3|}}}
|[[Category:Pikmin 2 vegetation]]}}{{#if:{{{pikmin3|}}}
|[[Category: Pikmin 3 vegetation]]}}</includeonly><noinclude>
|[[Category:Pikmin 3 vegetation]]}}{{#if:{{{hey_pikmin|}}}
|[[Category:Hey Pikmin vegetation]]}}</includeonly><noinclude>


{{clear}}
{{clear}}
Line 58: Line 59:
Place this at the top of [[plant]] and fungus articles. It creates an information box with data about the plant or fungus.
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 [[:Category:Families|family category]], and list of vegetation in the corresponding game(s) ([[:Category:Pikmin 1 vegetation]], [[:Category:Pikmin 2 vegetation]], [[:Category:Pikmin 3 vegetation]]).
Pages with this template are automatically categorized under the corresponding [[:Category:Families|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==
==Parameters==
Line 72: Line 73:
! pikmin3
! pikmin3
| No ||  || Same as above, but ''Pikmin 3''.
| No ||  || Same as above, but ''Pikmin 3''.
|-
! hey_pikmin
| No ||  || Same as above, but ''Hey! Pikmin''.
|-
|-
! image
! image
Line 137: Line 141:
|pikmin2    =  
|pikmin2    =  
|pikmin3    =  
|pikmin3    =  
|hey_pikmin  =
|image      =  
|image      =  
|size        =  
|size        =