Template:Infobox enemy: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(174 intermediate revisions by 18 users not shown)
Line 1: Line 1:
{| class="infobox" align="right" style="width: 27em; font-size: 82%; text-align: left; border-style: solid; border-width: 1px; border-color: grey"
{| class="infobox"
! colspan="2" style="font-size: 140%; background: #ccf; text-align: center;" | ''{{PAGENAME}}''
! class="infoboxTitle" colspan="2" | {{#if:{{{icon|}}} |
{{{!}} style = "min-width:100%;"
{{!}} 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.|In-game icon.}}]]
{{!}}} | ''{{{enemy_name|{{PAGENAME}} }}}'' }}
|-
|-
! colspan="2" style="background: #fff; text-align: center;" | {{#if:{{{image|}}}|[[Image:{{{image|}}}{{pipe}}{{{size}}}]]|}}
{{#if:{{{image|}}}| {{!}} colspan="2" style="text-align: center;" {{!}} {{#if:{{{image2|}}}|{{switchable
|{{{imagetitle}}} |[[File:{{{image}}}|{{{size|250px}}}]]
|{{{image2title}}} |[[File:{{{image2}}}|{{{size|250px}}}]]
|{{{image3title|}}} |[[File:{{{image3|}}}|{{{size|250px}}}]]
}} |[[File:{{{image}}}|{{{size|250px}}}]]}} }}
|-
|-
! width="30%" style="background: #e6e9ff;" | Scientific Name
{{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}} }}
| width = "70%" | '''''{{{name}}}'''''
|-
|-
! width="30%" style="background: #e6e9ff;" | Family
! style="width: 30%;" | Appears in
| width = "70%" | {{{family}}}
| {{#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|<font style="color:black">Areas</font>]]
! Scientific name
| width = "70%" | {{{areas}}}{{#if:{{{underground|}}}|<br>
| {{#if:{{{namecustom|}}}|{{{namecustom|}}}|{{#if:{{{name|}}}|''{{{name|}}}''|Unknown}}}}
{{Pipe}}-
|-
! width="30%" style="background: #e6e9ff;" {{Pipe}} [[Cave{{Pipe}}<font style="color:black">Underground Areas</font>]]
{{#if:{{{nofamily|}}}||! Family
{{Pipe}} width = "70%" {{Pipe}} {{{underground|}}}|}}{{#if:{{{challenge|}}}|<br>
{{!}} {{#if:{{{nocat|}}}|{{{family}}}|{{#if:{{{family|}}}|[[{{{family}}} family|{{{family}}}]]{{#if:{{{af|}}}|&nbsp;{{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;" {{Pipe}} [[Cave{{Pipe}}<font style="color:black">Challenge Mode Levels</font>]]
! [[Area]]s
{{Pipe}} width = "70%" {{Pipe}} {{{challenge|}}}|}}{{#if:{{{weight|}}}|<br>
| {{{areas|None}}}
{{Pipe}}-
|-
! width="30%" style="background: #e6e9ff;" {{Pipe}} Carry Weight
{{#if:{{{pikmin2|{{{pikmin4|}}}}}}|! [[Cave]]s
{{Pipe}} width = "70%" {{Pipe}} {{{weight|}}}|}}{{#if:{{{weight1|}}}|<br>
{{!}} {{{underground|None}}}}}
{{Pipe}}-
|-
! width="30%" style="background: #e6e9ff;" {{Pipe}} Carry Weight
{{#if:{{{pikmin|{{{pikmin2|}}}}}}|! [[Challenge Mode (disambiguation)|Challenge Mode]] stages
{{Pipe}} width = "70%" {{Pipe}} {{{weight1|}}} in Pikmin 1
{{!}} {{{challenge|None}}}}}
{{{weight2|}}} in Pikmin 2|}}{{#if:{{{max_pikmin|}}}|<br>
|-
{{Pipe}}-
{{#if:{{{pikmin3|}}}|! [[Mission Mode]] [[Mission Mode#Collect Treasure!|Collect Treasure!]] stages
! width="30%" style="background: #e6e9ff;" {{Pipe}} Max. Carriers
{{!}} {{{missionct|None}}}}}
{{Pipe}} width = "70%" {{Pipe}} {{{max_pikmin|}}} Pikmin|}}{{#if:{{{max_pikmin1|}}}|<br>
|-
{{Pipe}}-
{{#if:{{{pikmin3|}}}|! [[Mission Mode]] [[Mission Mode#Battle Enemies!|Battle Enemies!]] stages
! width="30%" style="background: #e6e9ff;" {{Pipe}} Max. Carriers
{{!}} {{{missionbe|None}}}}}
{{Pipe}} width = "70%" {{Pipe}} {{{max_pikmin1|}}} Pikmin in Pikmin 1
|-
{{{max_pikmin2|}}} Pikmin in Pikmin 2|}}{{#if:{{{seeds|}}}|<br>
{{#if:{{{pikmin3|}}}|! [[Side Stories|Side Story]] days
{{Pipe}}-
{{!}} {{{sidestories|None}}}}}
! width="30%" style="background: #e6e9ff;" {{Pipe}} Seed Worth
|-
{{Pipe}} width = "70%" {{Pipe}} {{{seeds|}}}|}}{{#if:{{{value|}}}|<br>
{{#if:{{{pikmin4|}}}|! [[Dandori Challenge]] stages
{{Pipe}}-
{{!}} {{{dandori_c|None}}}}}
! width="30%" style="background: #e6e9ff;" {{Pipe}} <font style="color:black">Treasure Value</font>
|-
{{Pipe}} width = "70%" {{Pipe}} {{{value|}}} [[poko{{#ifeq:{{{value}}}|1||s}}]]|}}{{#if:{{{attacks|}}}|<br>
{{#if:{{{pikmin4|}}}|! [[Dandori Battle]] stages
{{Pipe}}-
{{!}} {{{dandori_b|None}}}}}
! width="30%" style="background: #e6e9ff;" {{Pipe}} Attacks
|-
{{Pipe}} width = "70%" {{Pipe}} {{{attacks|}}}|}}
{{#if:{{{pikmin2|}}}|! [[2-Player Battle]] stages
! width="30%" style="background: #e6e9ff;" {{Pipe}} Health
{{!}} {{{2p|None}}}}}
{{Pipe}} width = "70%" {{Pipe}} {{{health|}}}|}}
|-
|}<includeonly>{{#ifeq:{{{family}}}|Pikmin|[[Category:Pikmin species]]|{{#ifeq:{{{family}}}|Unknown|[[Category:Creatures with no known family]]|{{#ifeq:{{{family}}}|Unknown family|[[Category:Plants with no known family]]|[[Category:{{{family}}}s]]}}}}}}</includeonly><noinclude>
{{#if:{{{pikmin3|}}}|! [[Bingo Battle]] stages
[[Category:Infobox templates|{{PAGENAME}}]]
{{!}} {{{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}}
{{clear}}
==Use==
==Info==
<pre>{{infobox enemy                            *optional field
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.
*|image=image title including extension
 
*|size=image size
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]].
|name=scientific name
 
|family=family name
==Parameters==
|areas=areas found in
{| class = "wikitable"
*|underground=caves found in
! Parameter || Mandatory || Default || Detailed description
*|challenge=Challenge Mode levels found in
|-
*|weight=weight                          [Use EITHER 'weight' OR
! pikmin
*|weight1=weight in Pikmin 1              'weight1' and 'weight2']
| No ||  || If this enemy appears in ''Pikmin'', give this a value like "y".
*|weight2=weight in Pikmin 2
|-
*|max_pikmin=max. carriers                [Use EITHER 'max_pikmin' OR
! pikmin2
*|max_pikmin1=max. carriers in Pikmin 1    'max_pikmin1' and 'max_pikmin2']
| No ||  || Same as above, but ''Pikmin 2''.
*|max_pikmin2=max. carriers in Pikmin 2
|-
*|seeds=number of seeds released when returned to Onion
! pikmin3
*|value=value in Pokos
| No ||  || Same as above, but ''Pikmin 3''.
*|attacks=attacks, 'N/A' if none
|-
*|health=amount of hitpoints, 'N/A' if not determined</pre></noinclude>
! 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).
|}
<references/>
 
==Skeleton==
<pre>{{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    =
}}</pre>
 
[[Category:Information boxes]]</noinclude>

Latest revision as of 13:59, August 8, 2024

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    = 
}}