Template:Infobox enemy: Difference between revisions

m
no edit summary
m (These tooltips look better.)
mNo edit summary
 
(103 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{#if:{{{noicons|}}}||{{game icons|pikmin={{{pikmin|}}}|pikmin2={{{pikmin2|}}}|pikmin3={{{pikmin3|}}}}}}}
{| 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;" |
  {{{!}} style = "min-width:100%;"
{{#if:{{{icon|}}} |
  {{{!}} style = "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|}}}|, |{{#if:{{{pikmin3|}}}|, }}}}}}{{#if:{{{pikmin2|}}}|''[[Pikmin 2]]''{{#if:{{{pikmin3|}}}|, }}}}{{#if:{{{pikmin3|}}}|''[[Pikmin 3]]''}}
|-
|-
! width="30%" style="background: #e6e9ff;" | Scientific name
{{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}} }}
| width = "70%" | {{#if:{{{name|}}}|''{{{name|}}}''|Unknown}}
|-
|-
! width="30%" style="background: #e6e9ff;" | Family
! style="width: 30%;" | Appears in
| width = "70%" | {{#if: {{{family|}}}|[[{{{family|Unknown}}}]]|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]]
! Scientific name
| width = "70%" | {{{areas|None}}}
| {{#if:{{{namecustom|}}}|{{{namecustom|}}}|{{#if:{{{name|}}}|''{{{name|}}}''|Unknown}}}}
|-
|-
{{#if:{{{pikmin2|}}}|! width="30%" style="background: #e6e9ff;" {{Pipe}} [[Cave]]s
{{#if:{{{nofamily|}}}||! Family
{{Pipe}} width = "70%" {{Pipe}} {{{underground|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}}}}}}
{{Pipe}}-}}
! width="30%" style="background: #e6e9ff;" | [[Challenge Mode]] levels
| width = "70%" | {{{challenge|None}}}
|-
|-
{{#if:{{{pikmin2|}}}|! width="30%" style="background: #e6e9ff;" {{Pipe}} [[2-Player Battle]] levels
! [[Area]]s
{{Pipe}} width = "70%" {{Pipe}} {{{2p|None}}}
| {{{areas|None}}}
{{Pipe}}-}}
! width="30%" style="background: #e6e9ff;" | [[Carrying|Carry]] weight
| width = "70%" | {{#if:{{{weight|}}}|{{{weight|}}}}} {{#if:{{{weight1|}}}|{{{weight1|}}} in ''[[Pikmin (game)|Pikmin]]''<br />{{{weight2|}}} in ''[[Pikmin 2]]''}} {{#if:{{{weight|}}}||{{#if:{{{weight1|}}}||N/A}} }}
|-
|-
! width="30%" style="background: #e6e9ff;" | Max. carriers
{{#if:{{{pikmin2|{{{pikmin4|}}}}}}|! [[Cave]]s
| width = "70%" | {{#if:{{{max_pikmin|}}}|{{{max_pikmin|}}} Pikmin}} {{#if:{{{max_pikmin1|}}}|{{{max_pikmin1|}}} Pikmin in ''[[Pikmin (game)|Pikmin]]''<br />{{{max_pikmin2|}}} Pikmin in ''[[Pikmin 2]]''}} {{#if:{{{max_pikmin|}}}||{{#if:{{{max_pikmin1|}}}||N/A}} }}
{{!}} {{{underground|None}}}}}
|-
|-
! width="30%" style="background: #e6e9ff;" | Size
{{#if:{{{pikmin|{{{pikmin2|}}}}}}|! [[Challenge Mode (disambiguation)|Challenge Mode]] stages
| width = "70%" | {{#if:{{{height|}}}|{{{height|}}}mm}} {{#if:{{{height1|}}}|{{{height1|}}}mm in ''[[Pikmin (game)|Pikmin]]''<br />{{{height2|}}}mm in ''[[Pikmin 2]]''}} {{#if:{{{height|}}}||{{#if:{{{height1|}}}||Unknown}} }}
{{!}} {{{challenge|None}}}}}
|-
|-
! width="30%" style="background: #e6e9ff;" | Seed worth
{{#if:{{{pikmin3|}}}|! [[Mission Mode]] [[Mission Mode#Collect Treasure!|Collect Treasure!]] stages
| width = "70%" | {{#if:{{{seeds|}}}|{{{seeds|}}}}} {{#if:{{{seeds1|}}}|{{{seeds1|}}} in ''[[Pikmin (game)|Pikmin]]''<br />{{{seeds2|}}} in ''[[Pikmin 2]]''}} {{#if:{{{seeds|}}}||{{#if:{{{seeds1|}}}||N/A}} }}
{{!}} {{{missionct|None}}}}}
|-
|-
{{#if:{{{pikmin2|}}}|! width="30%" style="background: #e6e9ff;" {{Pipe}} [[Poko]] value
{{#if:{{{pikmin3|}}}|! [[Mission Mode]] [[Mission Mode#Battle Enemies!|Battle Enemies!]] stages
{{Pipe}} width = "70%" {{Pipe}} {{#if:{{{value|}}}|{{{value|}}} [[Poko]]{{#ifeq:{{{value}}}|1||s}}|N/A}}
{{!}} {{{missionbe|None}}}}}
{{Pipe}}-}}
! width="30%" style="background: #e6e9ff;" | Attacks
| width = "70%" | {{#if:{{{attacks|}}}|{{{attacks|}}}}} {{#if:{{{attacks1|}}}|{{{attacks1|}}} (''[[Pikmin (game)|Pikmin]]'')<br />{{{attacks2|}}} (''[[Pikmin 2]]'')}} {{#if:{{{attacks|}}}||{{#if:{{{attacks1|}}}||N/A}} }}
|-
|-
! width="30%" style="background: #e6e9ff;" | [[Health|Hit points]]
{{#if:{{{pikmin3|}}}|! [[Side Stories|Side Story]] days
| width = "70%" | {{#if:{{{hp1|}}} | {{tt|{{{hp1|}}}{{#if:{{{hp2|{{{hp3|}}}}}}|&nbsp;in ''[[Pikmin (game)|Pikmin]]''}}|For reference, in Pikmin, a Dwarf Red Bulborb has 130 HP, and a Red Bulborb has 1100.}} {{#if:{{{hp2}}}|<br>}} }} {{#if:{{{hp2|}}} | {{tt|{{{hp2|}}}{{#if:{{{hp1|{{{hp3|}}}}}}|&nbsp;in ''[[Pikmin 2]]''}}|For reference, in Pikmin 2, a Dwarf Red Bulborb has 200 HP, and a Red Bulborb has 750.}} {{#if:{{{hp3}}}|<br>}} }} {{#if:{{{hp3|}}} | {{tt|{{{hp3|}}}{{#if:{{{hp1|{{{hp2|}}}}}}|&nbsp;in ''[[Pikmin 3]]''}}|}} }} {{#if:{{{hp1|}}}||{{#if:{{{hp2|}}}||{{#if:{{{hp3|}}}||N/A}}}}}}
{{!}} {{{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}}}}}
|-
{{#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|{{NAMESPACE}}}}}||{{#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}}
==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 [[:Category:Vegetation|plant categories]].
 
==Parameters==
{| class = "wikitable"
! 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 || ''<nowiki>{{PAGENAME}}</nowiki>'' || 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<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.
|-
! 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).
|}
|}
{{#if:{{{nocat|}}}||<includeonly>{{#ifeq:{{{family|}}}
<references/>
|Pikmin|[[Category:Pikmin species]]|{{#if:{{{family|}}}
|[[Category:{{{family}}}s]]|[[Category:Creatures with no known family]]}} }}{{#if:{{{pikmin|}}}
|[[Category: Pikmin 1 enemies]]}}{{#if:{{{pikmin2|}}}
|[[Category: Pikmin 2 enemies]]}}{{#if:{{{pikmin3|}}}
|[[Category: Pikmin 3 enemies]]}}</includeonly>}}<noinclude>


{{clear}}
==Skeleton==
==Use==
<pre>{{infobox enemy
<pre>{{Infobox enemy
|pikmin      =  
|pikmin      = if it appears in Pikmin, give this parameter a value, like "y"
|pikmin2    =  
|pikmin2    = ditto, but for Pikmin 2
|pikmin3    =  
|pikmin3    = ditto, but for Pikmin 3
|pikmin4    =
|enemy_name  = if the name differs from the page name, specify it here
|heypikmin  =
|image      = the image name, including the extension
|plant      =
|size        = the image's size, in pixels (optional)
|enemy_name  =  
|caption    = the image's caption (optional)
|image      =  
|icon        = if it has an icon, specify the filename on the wiki here
|size        =  
|custom_icon = if the icon is not a Piklopedia one, but instead, custom-made, give this a value like "y"
|caption    =  
|name        = scientific name
|image2      =  
|family      = family name
|image3      =  
|areas      = areas in which it appears
|imagetitle  =  
|underground = caves in which it appears
|image2title =  
|challenge  = Challenge Mode levels in which it appears
|image3title =  
|2p          = 2-Player Battle areas in which it appears
|icon        =  
|weight      = its weight (use if the same in all games)
|custom_icon =  
|weight1    = its weight (Pikmin 1 value)
|name        =  
|weight2    = its weight (Pikmin 2 value)
|namecustom  =  
|height      = its height, in mm, as given by the e-Reader cards (use if the same in all games)
|family      =  
|height1    = its height, in mm, as given by the e-Reader cards (Pikmin 1 value)
|af          =  
|height2    = its height, in mm, as given by the e-Reader cards (Pikmin 2 value)
|areas      =  
|max_pikmin  = the maximum number of Pikmin that can carry it (use if the same in all games)
|underground =  
|max_pikmin1 = the maximum number of Pikmin that can carry it (Pikmin 1 value)
|challenge  =  
|max_pikmin2 = the maximum number of Pikmin that can carry it (Pikmin 2 value)
|missionct  =  
|seeds      = number of seeds that are released when it's brought to an onion (use if the same in all games)
|missionbe  =  
|seeds1      = number of seeds that are released when it's brought to an onion (Pikmin 1 value)
|sidestories =  
|seeds2      = number of seeds that are released when it's brought to an onion (Pikmin 2 value)
|dandori_c  =  
|value       = its value in Pokos
|dandori_b  =  
|attacks    = list of attacks (use if the same in all games)
|2p          =  
|attacks1    = list of attacks (Pikmin 1 value)
|bingo       =  
|attacks2    = list of attacks (Pikmin 2 value)
|attacks    =  
|hp1        = amount of health in Pikmin
|attacks1    =  
|hp2        = amount of health in Pikmin 2
|attacks2    =  
|hp3        = amount of health in Pikmin 3
|attacks3    =  
|noicons    = give it a value, like "y", to disable display of game icons (to avoid conflicts with other templates)
|attacksh    =  
|nocat      = give it a value, like "y", to make the template not categorize the creature (for "creatures" that aren't creatures, like eggs)
|noicons    =  
|nocat      =  
|nofamily    =
}}</pre>
}}</pre>


[[Category:Infobox templates|{{PAGENAME}}]]
[[Category:Information boxes]]</noinclude>
</noinclude>