Template:Infobox enemy: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
mNo edit summary
Tag: Mobile edit
(Dandori Battles are an important part of Story Mode, unlike 2-Player Battle and Bingo Battle, so I've moved it up.)
(29 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{#if:{{{noicons|}}}||{{#if:{{{nocat|}}}||{{game icons|p={{{pikmin|}}}|p2={{{pikmin2|}}}|p3={{{pikmin3|}}}|hp={{{hey_pikmin|}}}|pa={{{pikminadventure|}}}}}}}}}
{| class="infobox"
{| class="infobox"
! class="infoboxTitle" colspan="2" | {{#if:{{{icon|}}} |
! class="infoboxTitle" colspan="2" | {{#if:{{{icon|}}} |
Line 16: Line 15:
|-
|-
! style="width: 30%;" | Appears in
! style="width: 30%;" | Appears in
| {{#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}}
| {{#if:{{{pikmin|}}}|[[Pikmin (game)|''Pikmin'']]{{#if:{{{pikmin2|}}}{{{pikmin3|}}}{{{pikmin4|}}}{{{heypikmin|}}}{{{pikminadventure|}}}|, }}}}{{#if:{{{pikmin2|}}}|[[Pikmin 2|''Pikmin 2'']]{{#if:{{{pikmin3|}}}{{{pikmin4|}}}{{{heypikmin|}}}{{{pikminadventure|}}}|, }}}}{{#if:{{{pikmin3|}}}|[[Pikmin 3|''Pikmin 3'']]{{#if:{{{pikmin4|}}}{{{heypikmin|}}}{{{pikminadventure|}}}|, }}}}{{#if:{{{pikmin4|}}}|[[Pikmin 4|''Pikmin 4'']]{{#if:{{{heypikmin|}}}{{{pikminadventure|}}}|, }}}}{{#if:{{{heypikmin|}}}|[[Hey! Pikmin|''Hey! Pikmin'']]{{#if:{{{pikminadventure|}}}|, }}}}{{#if:{{{pikminadventure|}}}|[[Pikmin Adventure|''Pikmin Adventure'']]}}{{#if:{{{pikmin|}}}{{{pikmin2|}}}{{{pikmin3|}}}{{{pikmin4|}}}{{{heypikmin|}}}{{{pikminadventure|}}}||N/A}}
|-
|-
! Scientific name
! Scientific name
Line 24: Line 23:
{{!}} {{#if:{{{nocat|}}}|{{{family}}}|{{#if:{{{family|}}}|[[{{{family}}} family|{{{family}}}]]{{#if:{{{af|}}}| {{tt|(assumed)|This creature'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}}}}}}
{{!}} {{#if:{{{nocat|}}}|{{{family}}}|{{#if:{{{family|}}}|[[{{{family}}} family|{{{family}}}]]{{#if:{{{af|}}}| {{tt|(assumed)|This creature'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]]
! [[Area]]s
| {{{areas|None}}}
| {{{areas|None}}}
|-
|-
{{#if:{{{pikmin2|}}}|! [[Cave]]s
{{#if:{{{pikmin2|{{{pikmin4|}}}}}}|! [[Cave]]s
{{!}} {{{underground|None}}}}}
{{!}} {{{underground|None}}}}}
|-
|-
{{#if:{{{pikmin|{{{pikmin2|}}}}}}|! [[Challenge Mode]] levels
{{#if:{{{pikmin|{{{pikmin2|}}}}}}|! [[Challenge Mode (disambiguation)|Challenge Mode]] stages
{{!}} {{{challenge|None}}}}}
{{!}} {{{challenge|None}}}}}
|-
|-
{{#if:{{{pikmin3|}}}|! [[Collect treasure!]] levels
{{#if:{{{pikmin3|}}}|! [[Mission Mode]] [[Mission Mode#Collect Treasure!|Collect Treasure!]] stages
{{!}} {{{missionct|None}}}}}
{{!}} {{{missionct|None}}}}}
|-
|-
{{#if:{{{pikmin3|}}}|! [[Battle enemies!]] levels
{{#if:{{{pikmin3|}}}|! [[Mission Mode]] [[Mission Mode#Battle Enemies!|Battle Enemies!]] stages
{{!}} {{{missionbe|None}}}}}
{{!}} {{{missionbe|None}}}}}
|-
|-
{{#if:{{{pikmin2|}}}|! [[2-Player Battle]] levels
{{#if:{{{pikmin3|}}}|! [[Side Stories|Side Story]] days
{{!}} {{{sidestories|None}}}}}
|-
{{#if:{{{pikmin4|}}}|! [[Dandori Challenge]] stages
{{!}} {{{dandori_c|None}}}}}
|-
{{#if:{{{pikmin4|}}}|! [[Dandori Battle]] stages
{{!}} {{{dandori_b|None}}}}}
|-
{{#if:{{{pikmin2|}}}|! [[2-Player Battle]] stages
{{!}} {{{2p|None}}}}}
{{!}} {{{2p|None}}}}}
|-
|-
{{#if:{{{pikmin3|}}}|! [[Bingo Battle]] levels
{{#if:{{{pikmin3|}}}|! [[Bingo Battle]] stages
{{!}} {{{bingo|None}}}}}
{{!}} {{{bingo|None}}}}}
|-
|-
{{per-game field | n = Attacks | v = {{{attacks|}}} | v1 = {{{attacks1|}}} | v2 = {{{attacks2|}}} | v3 = {{{attacks3|}}} | vh = {{{attacksh|}}} | dv = N/A }}
{{per-game field | n = Attacks | v = {{{attacks|}}} | v1 = {{{attacks1|}}} | v2 = {{{attacks2|}}} | v3 = {{{attacks3|}}} | v4 = {{{attacks4|}}} | vh = {{{attacksh|}}} | dv = N/A }}
|}
|}<includeonly>{{#if:{{{nocat|}}}||{{#if:{{{noicons|}}}||{{game icons|p={{{pikmin|}}}|p2={{{pikmin2|}}}|p3={{{pikmin3|}}}|p4={{{pikmin4|}}}|hp={{{heypikmin|}}}|pa={{{pikminadventure|}}}}}}} {{#if:{{{family|}}}|[[Category:{{{family}}} family]]|[[Category:Unknown family]]}}{{#if:{{{af|}}}|[[Category:Enemies with assumed families]]}}{{#if:{{{pikmin|}}}|[[Category:Pikmin 1 enemies]]}}{{#if:{{{pikmin2|}}}|[[Category:Pikmin 2 enemies]]}}{{#if:{{{pikmin3|}}}|[[Category:Pikmin 3 enemies]]}}{{#if:{{{pikmin4|}}}|[[Category:Pikmin 4 enemies]]}}{{#if:{{{heypikmin|}}}|[[Category:Hey! Pikmin enemies]]}}{{#if:{{{pikminadventure|}}}|[[Category:Pikmin Adventure enemies]]}}{{#if:{{only|{{{pikmin|}}}|{{{pikmin2|}}}|{{{pikmin3|}}}|{{{pikmin4|}}}|{{{heypikmin|}}}}}|[[Category:Pikmin 1 exclusive enemies]]}}{{#if:{{only|{{{pikmin2|}}}|{{{pikmin|}}}|{{{pikmin3|}}}|{{{pikmin4|}}}|{{{heypikmin|}}}}}|[[Category:Pikmin 2 exclusive enemies]]}}{{#if:{{only|{{{pikmin3|}}}|{{{pikmin|}}}|{{{pikmin2|}}}|{{{pikmin4|}}}|{{{heypikmin|}}}}}|[[Category:Pikmin 3 exclusive enemies]]}}{{#if:{{only|{{{pikmin4|}}}|{{{pikmin|}}}|{{{pikmin2|}}}|{{{pikmin3|}}}|{{{heypikmin|}}}}}|[[Category:Pikmin 4 exclusive enemies]]}}{{#if:{{only|{{{heypikmin|}}}|{{{pikmin|}}}|{{{pikmin2|}}}|{{{pikmin3|}}}|{{{pikmin4|}}}}}|[[Category:Hey! Pikmin 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}}
==Info==
==Info==
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: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]].
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 4 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:Pikmin 4 exclusive enemies]], [[:Category:Hey! Pikmin exclusive enemies]], and/or the equivalent [[:Category:Vegetation|plant categories]].


==Parameters==
==Parameters==
Line 68: Line 74:
! pikmin3
! pikmin3
| No ||  || Same as above, but ''Pikmin 3''.
| No ||  || Same as above, but ''Pikmin 3''.
|-
! pikmin4
| No ||  || Same as above, but ''Pikmin 4''.
|-
|-
! pikminadventure
! pikminadventure
| No ||  || Same as above, but ''Pikmin Adventure''.
| No ||  || Same as above, but ''Pikmin Adventure''.
|-
|-
! hey_pikmin
! heypikmin
| No ||  || Same as above, but ''Hey! Pikmin''.
| No ||  || Same as above, but ''Hey! Pikmin''.
|-
|-
Line 121: Line 130:
|-
|-
! challenge
! challenge
| No || None || ''Pikmin'' and ''Pikmin 2'' Challenge Mode levels it appears in.
| No || None || ''Pikmin'' and ''Pikmin 2'' Challenge Mode stages it appears in.
|-
|-
! missionct
! missionct
| No || None || Collect treasure! Mission Mode levels it appears in.
| No || None || Collect Treasure! Mission Mode stages it appears in.
|-
|-
! missionbe
! missionbe
| No || None || Battle enemies! Mission Mode levels it appears in.
| No || None || Battle Enemies! Mission Mode stages it appears in.
|-
! sidestories
| No || None || Side Story days it appears in.
|-
! dandori_c
| No || None || Dandori Challenge stages it appears in.
|-
! dandori_b
| No || None || Dandori Battle stages it appears in.
|-
|-
! 2p
! 2p
Line 133: Line 151:
|-
|-
! bingo
! bingo
| No || None || Bingo Battle levels it appears in.
| No || None || Bingo Battle stages 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", "weight3", and "weighth" 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 "attacks" when the attacks are the same in all games, but "attacks1", "attacks2", "attacks3", and "attacksh" when each game has a different one.</ref>
| No || N/A || The creature's attacks.
| No || N/A || The creature's attacks.
|-
|-
Line 147: Line 165:
| No ||  || Giving this a value like "y hides the family attribute (for instance, for objects that aren't enemies, like eggs).
| No ||  || Giving this a value like "y hides the family attribute (for instance, for objects that aren't enemies, like eggs).
|}
|}
 
<references/>
<references />


==Skeleton==
==Skeleton==
Line 155: Line 172:
|pikmin2    =  
|pikmin2    =  
|pikmin3    =  
|pikmin3    =  
|hey_pikmin  =  
|pikmin4    =
|heypikmin  =  
|plant      =  
|plant      =  
|enemy_name  =  
|enemy_name  =  
Line 177: Line 195:
|missionct  =  
|missionct  =  
|missionbe  =  
|missionbe  =  
|sidestories =
|dandori_c  =
|dandori_b  =
|2p          =  
|2p          =  
|bingo      =  
|bingo      =  
Line 189: Line 210:
}}</pre>
}}</pre>


[[Category:Information boxes]]
[[Category:Information boxes]]</noinclude>
</noinclude>

Revision as of 16:25, September 28, 2023

Infobox enemy
Appears in N/A
Scientific name Unknown
Family Unknown
Areas None
Attacks N/A

Info

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 4 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:Pikmin 4 exclusive enemies, Category:Hey! Pikmin exclusive enemies, and/or the equivalent plant categories.

Parameters

Parameter Mandatory Default Detailed description
pikmin No If this enemy 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.
pikmin4 No Same as above, but Pikmin 4.
pikminadventure No Same as above, but Pikmin Adventure.
heypikmin No Same as above, but Hey! Pikmin.
plant No If this is actually a plant or fungus (e.g. Pellet Posy), give this a value like "y".
enemy_name No {{PAGENAME}} If the name of the enemy 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.
image* No Secondary or tertiary image. Replace the asterisk with the number 2 or 3. Useful for enemies with multiple forms.
image*title No Primary, secondary or tertiary image's title. Replace the asterisk with the number 2 or 3 (or with nothing, for the primary image).
icon No If the enemy has an icon, specify its image here, extension included.
custom_icon No If the icon is custom-made, give this a value like "y".
name No Unknown Scientific name.
namecustom No Unknown Scientific name, custom entry. Useful if you want to specify a different name per region. Use with care.
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.
af No Assumed family. If the creature's family is not official, but rather, an assumption, 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 Pikmin and Pikmin 2 Challenge Mode stages it appears in.
missionct No None Collect Treasure! Mission Mode stages it appears in.
missionbe No None Battle Enemies! Mission Mode stages it appears in.
sidestories No None Side Story days it appears in.
dandori_c No None Dandori Challenge stages it appears in.
dandori_b No None Dandori Battle stages it appears in.
2p No None 2-Player Battle stages in which it appears.
bingo No None Bingo Battle stages it appears in.
attacks[1] No N/A The creature's attacks.
noicons 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 creature (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).
  1. ^ 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 "attacks" when the attacks are the same in all games, but "attacks1", "attacks2", "attacks3", and "attacksh" when each game has a different one.

Skeleton

{{infobox enemy
|pikmin      = 
|pikmin2     = 
|pikmin3     = 
|pikmin4     = 
|heypikmin   = 
|plant       = 
|enemy_name  = 
|image       = 
|size        = 
|caption     = 
|image2      = 
|image3      = 
|imagetitle  = 
|image2title = 
|image3title = 
|icon        = 
|custom_icon = 
|name        = 
|namecustom  = 
|family      = 
|af          = 
|areas       = 
|underground = 
|challenge   = 
|missionct   = 
|missionbe   = 
|sidestories = 
|dandori_c   = 
|dandori_b   = 
|2p          = 
|bingo       = 
|attacks     = 
|attacks1    = 
|attacks2    = 
|attacks3    = 
|attacksh    = 
|noicons     = 
|nocat       = 
|nofamily    = 
}}