Template:Infobox enemy: Difference between revisions

Dandori Battles are an important part of Story Mode, unlike 2-Player Battle and Bingo Battle, so I've moved it up.
(Added support for all three main games.)
(Dandori Battles are an important part of Story Mode, unlike 2-Player Battle and Bingo Battle, so I've moved it up.)
 
(81 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{#if:{{{noicons|}}}||{{game icons|pikmin={{{pikmin|}}}|pikmin2={{{pikmin2|}}}|pikmin3={{{pikmin3|}}}|pikminadventure={{{pikminadventure|}}}}}}}
{| class="infobox"
{| class="infobox" align="right" style="width: 27em; font-size: 82%; text-align: left; border-style: solid; border-width: 1px; border-color: grey"
! class="infoboxTitle" colspan="2" | {{#if:{{{icon|}}} |
! colspan="2" style="font-size: 140%; background: #ccf; text-align: center;" |
{{#if:{{{icon|}}} |
  {{{!}} style = "min-width:100%;"
  {{{!}} style = "min-width:100%;"
  {{!}} style = "vertical-align: middle; padding-left: 32px;" {{!}} ''{{{enemy_name|{{PAGENAME}} }}}''
  {{!}} style = "vertical-align: middle; padding-left: 32px;" {{!}} ''{{{enemy_name|{{PAGENAME}} }}}''
  {{!}} style = "width: 32px;" {{!}} [[File:{{{icon}}}|40px|{{#if:{{{custom_icon|}}}|Icon used to represent the enemy on the wiki.|Piklopedia icon.}}]]
  {{!}} style = "width: 32px;" {{!}} [[File:{{{icon}}}|40px|{{#if:{{{custom_icon|}}}|Icon used to represent the enemy on the wiki.|In-game icon.}}]]
  {{!}}} | ''{{{enemy_name|{{PAGENAME}} }}}'' }}
  {{!}}} | ''{{{enemy_name|{{PAGENAME}} }}}'' }}
|-
|-
{{#if:{{{image|}}}|! colspan="2" style="background: #fff; text-align: center;" {{!}} [[Image:{{{image}}}|{{{size}}}]]|}}
{{#if:{{{image|}}}| {{!}} colspan="2" style="text-align: center;" {{!}} {{#if:{{{image2|}}}|{{switchable
{{!}}- }}
|{{{imagetitle}}} |[[File:{{{image}}}|{{{size|250px}}}]]
{{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}}
|{{{image2title}}} |[[File:{{{image2}}}|{{{size|250px}}}]]
{{!}}- }}
|{{{image3title|}}} |[[File:{{{image3|}}}|{{{size|250px}}}]]
! width="30%" style="background: #e6e9ff;" | Appears in
}} |[[File:{{{image}}}|{{{size|250px}}}]]}} }}
| width="70%" | {{#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]]''}}
|-
|-
! width="30%" style="background: #e6e9ff;" | Scientific name
{{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}} }}
| width = "70%" | {{#if:{{{name|}}}|''{{{name|}}}''|Unknown}}
|-
|-
{{#if:{{{nofamily|}}}||! width="30%" style="background: #e6e9ff;" {{!}} Family
! style="width: 30%;" | Appears in
{{!}} width = "70%" {{!}} {{#if:{{{nocat|}}}|{{{family}}}|{{#if:{{{family|}}}|[[{{{family}}} family|{{{family}}}]]|Unknown}}}}
| {{#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}}
{{!}}-}}
! width="30%" style="background: #e6e9ff;" | [[Areas]]
| width = "70%" | {{{areas|None}}}
|-
|-
{{#if:{{{pikmin2|}}}|! width="30%" style="background: #e6e9ff;" {{!}} [[Cave]]s
! Scientific name
{{!}} width = "70%" {{!}} {{{underground|None}}}
| {{#if:{{{namecustom|}}}|{{{namecustom|}}}|{{#if:{{{name|}}}|''{{{name|}}}''|Unknown}}}}
{{!}}-}}
|-
{{#if:{{{pikmin|{{{pikmin2|}}}}}}|! width="30%" style="background: #e6e9ff;" {{!}} [[Challenge Mode]] levels
{{#if:{{{nofamily|}}}||! Family
{{!}} width = "70%" {{!}} {{{challenge|None}}}
{{!}} {{#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:{{{pikmin3|}}}|! width="30%" style="background: #e6e9ff;" {{!}} [[Collect Treasure!]] levels
! [[Area]]s
{{!}} width = "70%" {{!}} {{{missionct|None}}}
| {{{areas|None}}}
{{!}}-}}
|-
{{#if:{{{pikmin3|}}}|! width="30%" style="background: #e6e9ff;" {{!}} [[Battle Enemies!]] levels
{{#if:{{{pikmin2|{{{pikmin4|}}}}}}|! [[Cave]]s
{{!}} width = "70%" {{!}} {{{missionbe|None}}}
{{!}} {{{underground|None}}}}}
{{!}}-}}
|-
{{#if:{{{pikmin2|}}}|! width="30%" style="background: #e6e9ff;" {{!}} [[2-Player Battle]] levels
{{#if:{{{pikmin|{{{pikmin2|}}}}}}|! [[Challenge Mode (disambiguation)|Challenge Mode]] stages
{{!}} width = "70%" {{!}} {{{2p|None}}}
{{!}} {{{challenge|None}}}}}
{{!}}-}}
|-
{{#if:{{{pikmin3|}}}|! width="30%" style="background: #e6e9ff;" {{!}} [[Bingo Battle]] levels
{{#if:{{{pikmin3|}}}|! [[Mission Mode]] [[Mission Mode#Collect Treasure!|Collect Treasure!]] stages
{{!}} width = "70%" {{!}} {{{bingo|None}}}
{{!}} {{{missionct|None}}}}}
{{!}}-}}
|-
{{infobox multi | thparams = width="30%" style="background: #e6e9ff;" | n = [[Carrying|Carry]] weight | v = {{{weight|}}} | v1 = {{{weight1|}}} | v2 = {{{weight2|}}} | v3 = {{{weight3|}}} | dv = N/A }}
{{#if:{{{pikmin3|}}}|! [[Mission Mode]] [[Mission Mode#Battle Enemies!|Battle Enemies!]] stages
{{infobox multi | thparams = width="30%" style="background: #e6e9ff;" | n = Max. carriers | v = {{{max_pikmin|}}} | v1 = {{{max_pikmin1|}}} | v2 = {{{max_pikmin2|}}} | v3 = {{{max_pikmin3|}}} | dv = N/A }}
{{!}} {{{missionbe|None}}}}}
{{infobox multi | thparams = width="30%" style="background: #e6e9ff;" | n = Height | v = {{{height|}}} | v1 = {{{height1|}}} | v2 = {{{height2|}}} | v3 = {{{height3|}}} | c = {{{height}}}mm | c1 = {{{height1}}}mm | c2 = {{{height2}}}mm | c3 = {{{height3}}}mm | dv = Unknown }}
|-
{{infobox multi | thparams = width="30%" style="background: #e6e9ff;" | n = Seed worth | v = {{{seeds|}}} | v1 = {{{seeds1|}}} | v2 = {{{seeds2|}}} | v3 = {{{seeds3|}}} | dv = N/A }}
{{#if:{{{pikmin3|}}}|! [[Side Stories|Side Story]] days
{{#if:{{{pikmin2|}}}{{{pikmin3|}}} | {{infobox multi | thparams = width="30%" style="background: #e6e9ff;" | n = [[Poko]] value | v = {{{value|}}} | v2 = {{{value2|}}} | v3 = {{{value3|}}} | c = {{pokos|{{{value}}}}} | c2 = {{pokos|{{{value2}}}}} | c3 = {{pokos|{{{value3}}}}} | dv = N/A }} }}
{{!}} {{{sidestories|None}}}}}
{{infobox multi | thparams = width="30%" style="background: #e6e9ff;" | n = Attacks | v = {{{attacks|}}} | v1 = {{{attacks1|}}} | v2 = {{{attacks2|}}} | v3 = {{{attacks3|}}} | dv = N/A }}
|-
{{infobox multi | thparams = width="30%" style="background: #e6e9ff;" | n = [[Health|Hit points]] | v1 = {{{hp1|}}} | v2 = {{{hp2|}}} | v3 = {{{hp3|}}} | c1 = {{tt|{{{hp1|}}} HP|For reference, in Pikmin, a Dwarf Red Bulborb has 130 HP, and a Red Bulborb has 1100.}} | c2 = {{tt|{{{hp2|}}} HP|For reference, in Pikmin 2, a Dwarf Red Bulborb has 200 HP, and a Red Bulborb has 750.}} | c3 = {{tt|{{{hp3|}}} HP|For reference, in Pikmin 3, a Dwarf Red Bulborb has 100 HP, and a Red Bulborb has 1000.}} | dv = N/A }}
{{#if:{{{pikmin4|}}}|! [[Dandori Challenge]] stages
{{#if:{{{pikmin2|}}}|{{Pipe}}-
{{!}} {{{dandori_c|None}}}}}
! width="30%" style="background: #e6e9ff;" {{Pipe}} [[Piklopedia|Number]]
|-
{{Pipe}} width = "70%" {{Pipe}} {{#if:{{{piklopedia|}}}|#{{{piklopedia}}}|N/A}}
{{#if:{{{pikmin4|}}}|! [[Dandori Battle]] stages
}}
{{!}} {{{dandori_b|None}}}}}
|}
|-
{{#if:{{{nocat|}}}||<includeonly>{{#if:{{{family|}}}|[[Category:{{{family}}} family]]|[[Category:Creatures with no known family]]}}{{#if:{{{pikmin|}}}|[[Category:Pikmin 1 enemies]]}}{{#if:{{{pikmin2|}}}|[[Category:Pikmin 2 enemies]]}}{{#if:{{{pikmin3|}}}|[[Category:Pikmin 3 enemies]]}}{{#if:{{{pikminadventure|}}}[[Category:Pikmin Adventure enemies]]}}</includeonly>}}<noinclude>
{{#if:{{{pikmin2|}}}|! [[2-Player Battle]] stages
{{!}} {{{2p|None}}}}}
|-
{{#if:{{{pikmin3|}}}|! [[Bingo Battle]] stages
{{!}} {{{bingo|None}}}}}
|-
{{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>


{{clear}}
{{clear}}
Line 60: Line 60:
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]] and [[:Category:Pikmin Adventure enemies]].
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 74: 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''.
|-
! 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
! enemy_name
Line 89: Line 98:
! caption
! caption
| No ||  || The image's caption, if needed.
| 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
! icon
Line 98: Line 113:
! name
! name
| No || Unknown || Scientific 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
! family
| No || Unknown || Family name, without the word "family". If the family is unknown, omit.
| 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
! areas
Line 109: 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 121: Line 151:
|-
|-
! bingo
! bingo
| No || None || Bingo Battle levels it appears in.
| No || None || Bingo Battle stages it appears in.
|-
! weight
| No || N/A || Corpse carrying weight. Use this one if it's the same in all games, otherwise use the ones below.
|-
! weight1
| No ||  || Read above; weight in ''Pikmin''.
|-
! weight2
| No ||  || Read above; weight in ''Pikmin 2''.
|-
! height
| No || Unknown || Height, as given by the e-Reader cards. Use this one if it's the same in all games, otherwise use the ones below.
|-
! height1
| No ||  || Read above; height in ''Pikmin''.
|-
! height2
| No ||  || Read above; height in ''Pikmin 2''.
|-
! maxpikmin
| No || N/A || Maximum number of carrier Pikmin. Use this one if it's the same in all games, otherwise use the ones below.
|-
! maxpikmin1
| No ||  || Read above; max carriers in ''Pikmin''.
|-
! maxpikmin2
| No ||  || Read above; max carriers in ''Pikmin 2''.
|-
! seeds
| No || N/A || Number of seeds it's worth when delivered to an Onion. Use this one if it's the same in all games, otherwise use the ones below.
|-
! seeds1
| No ||  || Read above; seeds in ''Pikmin''.
|-
! seeds2
| No ||  || Read above; seeds in ''Pikmin 2''.
|-
! value
| No || N/A || Number of Pokos it is worth.
|-
! attacks
| No || N/A || The creature's attacks. Use this one if it's the same in all games, otherwise use the ones below.
|-
! attacks1
| No ||  || Read above; attacks in ''Pikmin''.
|-
! attacks2
| No ||  || Read above; attacks in ''Pikmin 2''.
|-
! hp1
| No ||  || Health in ''Pikmin''.
|-
! hp2
| No ||  || Health in ''Pikmin 2''.
|-
! hp3
| No ||  || Health in ''Pikmin 3''.
|-
|-
! piklopedia
! 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 || Piklopedia number.
| No || N/A || The creature's attacks.
|-
|-
! noicons
! noicons
Line 192: 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/>


==Template==
==Skeleton==
<pre>{{infobox enemy
<pre>{{infobox enemy
|pikmin      =  
|pikmin      =  
|pikmin2    =  
|pikmin2    =  
|pikmin3    =  
|pikmin3    =  
|pikmin4    =
|heypikmin  =
|plant      =
|enemy_name  =  
|enemy_name  =  
|image      =  
|image      =  
|size        =  
|size        =  
|caption    =  
|caption    =  
|image2      =
|image3      =
|imagetitle  =
|image2title =
|image3title =
|icon        =  
|icon        =  
|custom_icon =  
|custom_icon =  
|name        =  
|name        =  
|namecustom  =
|family      =  
|family      =  
|af          =
|areas      =  
|areas      =  
|underground =  
|underground =  
Line 211: Line 195:
|missionct  =  
|missionct  =  
|missionbe  =  
|missionbe  =  
|sidestories =
|dandori_c  =
|dandori_b  =
|2p          =  
|2p          =  
|bingo      =  
|bingo      =  
|weight      =
|weight1    =
|weight2    =
|height      =
|height1    =
|height2    =
|max_pikmin  =
|max_pikmin1 =
|max_pikmin2 =
|seeds      =
|seeds1      =
|seeds2      =
|value      =
|attacks    =  
|attacks    =  
|attacks1    =  
|attacks1    =  
|attacks2    =  
|attacks2    =  
|hp1        =  
|attacks3    =  
|hp2        =
|attacksh    =  
|hp3        =
|piklopedia  =  
|noicons    =  
|noicons    =  
|nocat      =  
|nocat      =  
Line 238: Line 210:
}}</pre>
}}</pre>


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