Template:Infobox enemy: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
mNo edit summary
(New documentation style.)
Line 1: Line 1:
{{#if:{{{noicons|}}}||{{game icons|pikmin={{{pikmin|}}}|pikmin2={{{pikmin2|}}}|pikmin3={{{pikmin3|}}}}}}}
{{#if:{{{noicons|}}}||{{game icons|pikmin={{{pikmin|}}}|pikmin2={{{pikmin2|}}}|pikmin3={{{pikmin3|}}}|pikminadventure={{{pikminadventure|}}}}}}}
{| class="infobox" align="right" style="width: 27em; font-size: 82%; text-align: left; border-style: solid; border-width: 1px; border-color: grey"
{| class="infobox" align="right" style="width: 27em; font-size: 82%; text-align: left; border-style: solid; border-width: 1px; border-color: grey"
! colspan="2" style="font-size: 140%; background: #ccf; text-align: center;" |
! colspan="2" style="font-size: 140%; background: #ccf; text-align: center;" |
Line 13: Line 13:
{{!}}- }}
{{!}}- }}
! width="30%" style="background: #e6e9ff;" | Appears in
! width="30%" style="background: #e6e9ff;" | Appears in
| width="70%" | {{#if:{{{pikmin|}}}|[[Pikmin (game)|''Pikmin'']]{{#if:{{{pikmin2|}}}|, |{{#if:{{{pikmin3|}}}|, }}}}}}{{#if:{{{pikmin2|}}}|''[[Pikmin 2]]''{{#if:{{{pikmin3|}}}|, }}}}{{#if:{{{pikmin3|}}}|''[[Pikmin 3]]''}}
| 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
! width="30%" style="background: #e6e9ff;" | Scientific name
Line 67: Line 67:
}}
}}
|}
|}
{{#if:{{{nocat|}}}||<includeonly>{{#if:{{{family|}}}|[[Category:{{{family}}} family]]|[[Category:Creatures with no known family]]}}{{#if:{{{pikmin|}}}
{{#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>
|[[Category: Pikmin 1 enemies]]}}{{#if:{{{pikmin2|}}}
|[[Category: Pikmin 2 enemies]]}}{{#if:{{{pikmin3|}}}
|[[Category: Pikmin 3 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]] and [[:Category:Pikmin Adventure enemies]].


==Parameters==
==Parameters==
{| class = "wikitable"
{| class = "wikitable"
! Parameter || Mandatory || Description || Default value
! Parameter || Mandatory || Default || Detailed description
|-
! pikmin
| No ||  || If this enemy appears in ''Pikmin'', give this a value like "y".
|-
|-
| pikmin || No || If this enemy appears in ''[[Pikmin (game)|Pikmin]]'', give this a value like "y". ||
! pikmin2
| No || || Same as above, but ''Pikmin 2''.
|-
|-
| pikmin2 || No || Same as above, but ''[[Pikmin 2]]''. ||
! pikmin3
| No || || Same as above, but ''Pikmin 3''.
|-
|-
| pikmin3 || No || Same as above, but ''[[Pikmin 3]]''. ||
! pikminadventure
| No || || Same as above, but ''Pikmin Adventure''.
|-
|-
| enemy_name || No || If the name of the enemy is different from the title of the page, specify it here. || <nowiki>{{PAGENAME}}</nowiki>
! 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. ||
! image
| No || || Image for the infobox, extension included.
|-
|-
| size || No || The image's size, in pixels. ||
! size
| No || || The image's size.
|-
|-
| caption || No || The image's caption, if needed. ||
! caption
| No || || The image's caption, if needed.
|-
|-
| icon || No || If the enemy has an icon, specify its image here, extension included. ||
! 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". ||
! custom_icon
| No || || If the icon is custom-made, give this a value like "y".
|-
|-
| name || No || Scientific name. || Unknown
! name
| No || Unknown || Scientific name.
|-
|-
| family || No || Family name, without the word "family". If the family is unknown, omit. || Unknown
! family
| No || Unknown || Family name, without the word "family". If the family is unknown, omit.
|-
|-
| areas || No || [[Areas]] in which it appears. || None
! areas
| No || None || Areas in which it appears.
|-
|-
| underground || No || [[Cave]]s in which it appears. || None
! underground
| No || None || Caves in which it appears.
|-
|-
| challenge || No || ''Pikmin'' and ''Pikmin 2'' [[Challenge Mode]] levels. || None
! challenge
| No || None || ''Pikmin'' and ''Pikmin 2'' Challenge Mode levels it appears in.
|-
|-
| missionct || No || [[Collect Treasure!]] Mission Mode levels it appears in. || None
! missionct
| No || None || Collect Treasure! Mission Mode levels it appears in.
|-
|-
| missionbe || No || [[Battle Enemies!]] Mission Mode levels it appears in. || None
! missionbe
| No || None || Battle Enemies! Mission Mode levels it appears in.
|-
|-
| 2p || No || [[2-Player Battle]] stages in which it appears. || None
! 2p
| No || None || 2-Player Battle stages in which it appears.
|-
|-
| bingo || No || [[Bingo Battle]] levels it appears in. || None
! bingo
| No || None || Bingo Battle levels it appears in.
|-
|-
| weight || No || Corpse [[carrying]] weight. Use this one if it's the same in all games, otherwise use the ones below. || N/A
! 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''. ||
! weight1
| No || || Read above; weight in ''Pikmin''.
|-
|-
| weight2 || No || Read above; weight in ''Pikmin 2''. ||
! weight2
| No || || Read above; weight in ''Pikmin 2''.
|-
|-
| height || No || Height, as given by the [[e-Reader]] cards. Use this one if it's the same in all games, otherwise use the ones below. || Unknown
! 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''. ||
! height1
| No || || Read above; height in ''Pikmin''.
|-
|-
| height2 || No || Read above; height in ''Pikmin 2''. ||
! height2
| No || || Read above; height in ''Pikmin 2''.
|-
|-
| maxpikmin || No || Maximum number of carrier Pikmin. Use this one if it's the same in all games, otherwise use the ones below. || N/A
! 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''. ||
! maxpikmin1
| No || || Read above; max carriers in ''Pikmin''.
|-
|-
| maxpikmin2 || No || Read above; max carriers in ''Pikmin 2''. ||
! maxpikmin2
| No || || Read above; max carriers in ''Pikmin 2''.
|-
|-
| seeds || No || 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. || N/A
! 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''. ||
! seeds1
| No || || Read above; seeds in ''Pikmin''.
|-
|-
| seeds2 || No || Read above, seeds in ''Pikmin 2''. ||
! seeds2
| No || || Read above; seeds in ''Pikmin 2''.
|-
|-
| value || No || Number of [[Poko]]s it is worth. || N/A
! value
| No || N/A || Number of Pokos it is worth.
|-
|-
| attacks || No || The creature's attacks. Use this one if it's the same in all games, otherwise use the ones below. || N/A
! 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''. ||
! attacks1
| No || || Read above; attacks in ''Pikmin''.
|-
|-
| attacks2 || No || Read above; attacks in ''Pikmin 2''. ||
! attacks2
| No || || Read above; attacks in ''Pikmin 2''.
|-
|-
| hp1 || No || [[Health]] in ''Pikmin''. ||
! hp1
| No || || Health in ''Pikmin''.
|-
|-
| hp2 || No || [[Health]] in ''Pikmin 2''. ||
! hp2
| No || || Health in ''Pikmin 2''.
|-
|-
| hp3 || No || [[Health]] in ''Pikmin 3''. ||
! hp3
| No || || Health in ''Pikmin 3''.
|-
|-
| piklopedia || No || [[Piklopedia]] number. || N/A
! piklopedia
| No || N/A || Piklopedia number.
|-
|-
| noicons || No || Giving this a value like "y" disables the display of game icons, to avoid conflicts with other templates. ||
! 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 [[egg]]s). ||
! 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.) ||
! nofamily
| No || || Giving this a value like "y hides the family attribute (for instance, for objects that aren't enemies, like eggs).
|}
|}


==Template==
==Template==
<pre>{{infobox enemy
<pre>{{infobox enemy
|pikmin      = <"y" if it appears in Pikmin>
|pikmin      =  
|pikmin2    = <ditto, but for Pikmin 2>
|pikmin2    =  
|pikmin3    = <ditto, but for Pikmin 3>
|pikmin3    =  
|enemy_name  = <if the name differs from the page name, specify it here>
|enemy_name  =  
|image      = <image name>
|image      =  
|size        = <image size>
|size        =  
|caption    = <image caption>
|caption    =  
|icon        = <icon image name>
|icon        =  
|custom_icon = <"y" if custom icon>
|custom_icon =  
|name        = <scientific name>
|name        =  
|family      = <family name>
|family      =  
|areas      = <areas in which it appears>
|areas      =  
|underground = <caves in which it appears>
|underground =  
|challenge  = <Challenge Mode levels in which it appears>
|challenge  =  
|missionct  = <Collect Treasure! levels in which it appears>
|missionct  =  
|missionbe  = <Battle Enemies! levels in which it appears>
|missionbe  =  
|2p          = <2-Player Battle levels in which it appears>
|2p          =  
|bingo      = <Bingo Battle levels in which it appears>
|bingo      =  
|weight      = <e-Reader card height (all games)>
|weight      =  
|weight1    = <ditto (Pikmin 1 value)>
|weight1    =  
|weight2    = <ditto (Pikmin 2 value)>
|weight2    =  
|height      = <e-Reader card height (all games)>
|height      =  
|height1    = <ditto (Pikmin 1 value)>
|height1    =  
|height2    = <ditto (Pikmin 2 value)>
|height2    =  
|max_pikmin  = <maximum carriers (all games)>
|max_pikmin  =  
|max_pikmin1 = <ditto (Pikmin 1 value)>
|max_pikmin1 =  
|max_pikmin2 = <ditto (Pikmin 2 value)>
|max_pikmin2 =  
|seeds      = <seeds at an onion (all games)>
|seeds      =  
|seeds1      = <ditto (Pikmin 1 value)>
|seeds1      =  
|seeds2      = <ditto (Pikmin 2 value)>
|seeds2      =  
|value      = <value in Pokos>
|value      =  
|attacks    = <list of attacks (all games)>
|attacks    =  
|attacks1    = <ditto (Pikmin 1 value)>
|attacks1    =  
|attacks2    = <ditto (Pikmin 2 value)>
|attacks2    =  
|hp1        = <health in Pikmin>
|hp1        =  
|hp2        = <health in Pikmin 2>
|hp2        =  
|hp3        = <health in Pikmin 3>
|hp3        =  
|piklopedia  = <Piklopedia number, leave empty if N/A>
|piklopedia  =  
|noicons    = <"y" to disable display of game icons>
|noicons    =  
|nocat      = <"y" to not categorize the creature as enemy>
|nocat      =  
|nofamily    = <"y" to not display family>
|nofamily    =  
}}</pre>
}}</pre>


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

Revision as of 12:48, October 20, 2014

Infobox enemy

Appears in
Scientific name Unknown
Family Unknown
Areas None
Carry weight N/A
Max. carriers N/A
Size Unknown
Seed worth N/A
Attacks N/A
Hit points 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 and Category:Pikmin Adventure enemies.

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.
pikminadventure No Same as above, but Pikmin Adventure.
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.
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.
family No Unknown Family name, without the word "family". If the family is unknown, omit.
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 levels it appears in.
missionct No None Collect Treasure! Mission Mode levels it appears in.
missionbe No None Battle Enemies! Mission Mode levels it appears in.
2p No None 2-Player Battle stages in which it appears.
bingo No None Bingo Battle levels 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 No N/A Piklopedia number.
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).

Template

{{infobox enemy
|pikmin      = 
|pikmin2     = 
|pikmin3     = 
|enemy_name  = 
|image       = 
|size        = 
|caption     = 
|icon        = 
|custom_icon = 
|name        = 
|family      = 
|areas       = 
|underground = 
|challenge   = 
|missionct   = 
|missionbe   = 
|2p          = 
|bingo       = 
|weight      = 
|weight1     = 
|weight2     = 
|height      = 
|height1     = 
|height2     = 
|max_pikmin  = 
|max_pikmin1 = 
|max_pikmin2 = 
|seeds       = 
|seeds1      = 
|seeds2      = 
|value       = 
|attacks     = 
|attacks1    = 
|attacks2    = 
|hp1         = 
|hp2         = 
|hp3         = 
|piklopedia  = 
|noicons     = 
|nocat       = 
|nofamily    = 
}}