Template:Infobox enemy: Difference between revisions

Added Hey! Pikmin.
m (Simplifying template.)
(Added Hey! Pikmin.)
Line 1: Line 1:
{{#if:{{{noicons|}}}||{{#if:{{{nocat|}}}||{{game icons|pikmin={{{pikmin|}}}|pikmin2={{{pikmin2|}}}|pikmin3={{{pikmin3|}}}|pikminadventure={{{pikminadventure|}}}}}}}}}
{{#if:{{{noicons|}}}||{{#if:{{{nocat|}}}||{{game icons|p={{{pikmin|}}}|p2={{{pikmin2|}}}|p3={{{pikmin3|}}}|pa={{{pikminadventure|}}}|hp={{{hey_pikmin}}}}}}}}}
{| class="infobox"
{| class="infobox"
! class="infoboxTitle" colspan="2" | {{#if:{{{icon|}}} |
! class="infoboxTitle" colspan="2" | {{#if:{{{icon|}}} |
Line 16: Line 16:
|-
|-
! style="width: 30%;" | Appears in
! style="width: 30%;" | Appears in
| {{#if:{{{pikmin|}}}|[[Pikmin (game)|''Pikmin'']]{{#if:{{{pikmin2|{{{pikmin3|{{{pikminadventure|}}}}}}}}}|, }}}}{{#if:{{{pikmin2|}}}|''[[Pikmin 2]]''{{#if:{{{pikmin3|{{{pikminadventure|}}}}}}|, }}}}{{#if:{{{pikmin3|}}}|''[[Pikmin 3]]''{{#if:{{{pikminadventure|}}}|, }}}}{{#if:{{{pikminadventure|}}}|''[[Pikmin Adventure]]''}}{{#if:{{{pikmin|}}}{{{pikmin2|}}}{{{pikmin3|}}}{{{pikminadventure|}}}||N/A}}
| {{#if:{{{pikmin|}}}|{{p1}}{{#if:{{{pikmin2|}}}{{{pikmin3|}}}{{{hey_pikmin|}}}|, }}}}{{#if:{{{pikmin2|}}}|{{p2}}{{#if:{{{pikmin3|}}}{{{hey_pikmin|}}}|, }}}}{{#if:{{{pikmin3|}}}|{{p3}}{{#if:{{{hey_pikmin|}}}|, }}}}{{#if:{{{pikminadventure|}}}|{{pa}}}}{{#if:{{{hey_pikmin|}}}|{{hp}}}}{{#if:{{{pikmin|}}}{{{pikmin2|}}}{{{pikmin3|}}}{{{pikminadventure|}}}{{{hey_pikmin|}}}||N/A}}
|-
|-
! Scientific name
! Scientific name
Line 45: Line 45:
{{!}} {{{bingo|None}}}}}
{{!}} {{{bingo|None}}}}}
|-
|-
{{per-game field | n = Attacks | v = {{{attacks|}}} | v1 = {{{attacks1|}}} | v2 = {{{attacks2|}}} | v3 = {{{attacks3|}}} | dv = N/A }}
{{per-game field | n = Attacks | v = {{{attacks|}}} | v1 = {{{attacks1|}}} | v2 = {{{attacks2|}}} | v3 = {{{attacks3|}}} | vh = {{{attacksh}}} | dv = N/A }}
|}
|}
{{#if:{{{nocat|}}}||<includeonly>{{#if:{{{family|}}}|[[Category:{{{family}}} family]]|[[Category:{{#if:{{{plant|}}}Plants and fungi|Creatures}} with no known family]]}}{{#if:{{{pikmin|}}}|[[Category:Pikmin 1 {{#if:{{{plant|}}}|vegetation|enemies}}]]}}{{#if:{{{pikmin2|}}}|[[Category:Pikmin 2 {{#if:{{{plant|}}}|vegetation|enemies}}]]}}{{#if:{{{pikmin3|}}}|[[Category:Pikmin 3 {{#if:{{{plant|}}}|vegetation|enemies}}]]}}{{#if:{{{pikminadventure|}}}[[Category:Pikmin Adventure {{#if:{{{plant|}}}|vegetation|enemies}}]]}}{{#if:{{only|{{{pikmin|}}}|{{{pikmin2|}}}|{{{pikmin3|}}}}}|[[Category:Pikmin 1 exclusive enemies]]}}{{#if:{{only|{{{pikmin2|}}}|{{{pikmin|}}}|{{{pikmin3|}}}}}|[[Category:Pikmin 2 exclusive enemies]]}}{{#if:{{only|{{{pikmin3|}}}|{{{pikmin|}}}|{{{pikmin2|}}}}}|[[Category:Pikmin 3 exclusive enemies]]}}</includeonly>}}<noinclude>
{{#if:{{{nocat|}}}||<includeonly>{{#if:{{{family|}}}|[[Category:{{{family}}} family]]|[[Category:{{#if:{{{plant|}}}Plants and fungi|Creatures}} with no known family]]}}{{#if:{{{pikmin|}}}|[[Category:Pikmin 1 {{#if:{{{plant|}}}|vegetation|enemies}}]]}}{{#if:{{{pikmin2|}}}|[[Category:Pikmin 2 {{#if:{{{plant|}}}|vegetation|enemies}}]]}}{{#if:{{{pikmin3|}}}|[[Category:Pikmin 3 {{#if:{{{plant|}}}|vegetation|enemies}}]]}}{{#if:{{{pikminadventure|}}}[[Category:Pikmin Adventure {{#if:{{{plant|}}}|vegetation|enemies}}]]}}{{#if:{{{hey_pikmin|}}}|[[Category:Hey! Pikmin {{#if:{{{plant|}}}|vegetation|enemies}}]]}}{{#if:{{only|{{{pikmin|}}}|{{{pikmin2|}}}|{{{pikmin3|}}}|{{{hey_pikmin|}}}}}|[[Category:Pikmin 1 exclusive enemies]]}}{{#if:{{only|{{{pikmin2|}}}|{{{pikmin|}}}|{{{pikmin3|}}}|{{{hey_pikmin|}}}}}|[[Category:Pikmin 2 exclusive enemies]]}}{{#if:{{only|{{{pikmin3|}}}|{{{pikmin|}}}|{{{pikmin2|}}}|{{{hey_pikmin|}}}}}|[[Category:Pikmin 3 exclusive enemies]]}}{{#if:{{only|{{{hey_pikmin|}}}|{{{pikmin|}}}|{{{pikmin2|}}}|{{{pikmin3|}}}}}|[[Category:Hey! Pikmin exclusive enemies]]}}</includeonly>}}<noinclude>


{{clear}}
{{clear}}
Line 53: Line 53:
This template is to be used at the top of [[enemy]] pages. It places an information box on the top-right corner of the page.
This template is to be used at the top of [[enemy]] pages. It places an information box on the top-right corner of the page.


Pages with this template are automatically categorized on the corresponding categories: [[:Category:Pikmin 1 enemies]], [[:Category:Pikmin 2 enemies]], [[:Category:Pikmin 3 enemies]], [[:Category:Pikmin Adventure enemies]], [[:Category:Pikmin 1 exclusive enemies]], [[:Category:Pikmin 2 exclusive enemies]], [[:Category:Pikmin 3 exclusive enemies]], and/or the equivalent [[:Category:Vegetation|plant categories]].
Pages with this template are automatically categorized on the corresponding categories: [[:Category:Pikmin 1 enemies]], [[:Category:Pikmin 2 enemies]], [[:Category:Pikmin 3 enemies]], [[:Category:Pikmin Adventure enemies]], [[:Category:Hey! Pikmin enemies]], [[:Category:Pikmin 1 exclusive enemies]], [[:Category:Pikmin 2 exclusive enemies]], [[:Category:Pikmin 3 exclusive enemies]], [[:Category:Hey! Pikmin exclusive enemies]], and/or the equivalent [[:Category:Vegetation|plant categories]].


==Parameters==
==Parameters==
Line 70: Line 70:
! pikminadventure
! pikminadventure
| No ||  || Same as above, but ''Pikmin Adventure''.
| No ||  || Same as above, but ''Pikmin Adventure''.
|-
! hey_pikmin
| No ||  || Same as above, but ''Hey! Pikmin''.
|-
|-
! plant
! plant
Line 128: Line 131:
| No || None || Bingo Battle levels it appears in.
| No || None || Bingo Battle levels it appears in.
|-
|-
! attacks<ref name="pgf">This is a per-game field. If this field has the exact same value in all three games, use this parameter. Otherwise, use the parameters named after it, but with a 1, 2 or 3 at the end. Example: use "weight" when the weight is the same in all games, but "weight1", "weight2" and "weight3" when each game has a different one.</ref>
! attacks<ref name="pgf">This is a per-game field. If this field has the exact same value in all three games, use this parameter. Otherwise, use the parameters named after it, but with a 1, 2 or 3 at the end. Example: use "weight" when the weight is the same in all games, but "weight1", "weight2", "weight3", and "weighth" when each game has a different one.</ref>
| No || N/A || The creature's attacks.
| No || N/A || The creature's attacks.
|-
|-
Line 148: Line 151:
|pikmin2    =  
|pikmin2    =  
|pikmin3    =  
|pikmin3    =  
|hey_pikmin  =
|plant      =  
|plant      =  
|enemy_name  =  
|enemy_name  =  
Line 173: Line 177:
|attacks1    =  
|attacks1    =  
|attacks2    =  
|attacks2    =  
|attacks3    =
|attacksh    =
|noicons    =  
|noicons    =  
|nocat      =  
|nocat      =