Template:Infobox enemy: Difference between revisions

New documentation style.
mNo edit summary
(New documentation style.)
Line 73: Line 73:


{{clear}}
{{clear}}
==Use==
==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.
 
===Parameters===
{| class = "wikitable"
! Parameter || Mandatory || Description || Default value
|-
| pikmin || No || If this enemy appears in ''[[Pikmin (game)|Pikmin]]'', give this a value like "y". ||
|-
| pikmin2 || No || Same as above, but ''[[Pikmin 2]]''. ||
|-
| pikmin3 || No || Same as above, but ''[[Pikmin 3]]''. ||
|-
| enemy_name || No || If the name of the enemy is different from the title of the page, specify it here. || <nowiki>{{PAGENAME}}</nowiki>
|-
| image || No || Image for the infobox, extension included. ||
|-
| size || No || The image's size, in pixels. ||
|-
| 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 || Scientific name. || Unknown
|-
| family || No || Family name, without the word "family". If the family is unknown, omit. || Unknown
|-
| areas || No || [[Areas]] in which it appears. || None
|-
| underground || No || [[Cave]]s in which it appears. || None
|-
| challenge || No || ''Pikmin'' and ''Pikmin 2'' [[Challenge Mode]] levels. || None
|-
| missionct || No || [[Collect Treasure!]] Mission Mode levels it appears in. || None
|-
| missionbe || No || [[Battle Enemies!]] Mission Mode levels it appears in. || None
|-
| 2p || No || [[2-Player Battle]] stages in which it appears. || None
|-
| bingo || No || [[Bingo Battle]] levels it appears in. || None
|-
| weight || No || Corpse [[carrying]] weight. Use this one if it's the same in all games, otherwise use the ones below. || N/A
|-
| weight1 || No || Read above; weight in ''Pikmin''. ||
|-
| 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
|-
| height1 || No || Read above; height in ''Pikmin''. ||
|-
| 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
|-
| maxpikmin1 || No || Read above; max carriers in ''Pikmin''. ||
|-
| 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
|-
| seeds1 || No || Read above; seeds in ''Pikmin''. ||
|-
| seeds2 || No || Read above, seeds in ''Pikmin 2''. ||
|-
| value || No || Number of [[Poko]]s it is worth. || N/A
|-
| attacks || No || The creature's attacks. Use this one if it's the same in all games, otherwise use the ones below. || N/A
|-
| 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 || [[Piklopedia]] number. || N/A
|-
| 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). ||
|-
| nofamily || No || Giving this a value like "y hides the family attribute (for instance, for objects that aren't enemies, like eggs.) ||
|}
 
===Template===
<pre>{{Infobox enemy
<pre>{{Infobox enemy
|pikmin      = if it appears in Pikmin, give this parameter a value, like "y"
|pikmin      = "y" if it appears in Pikmin
|pikmin2    = ditto, but for Pikmin 2
|pikmin2    = ditto, but for Pikmin 2
|pikmin3    = ditto, but for Pikmin 3
|pikmin3    = ditto, but for Pikmin 3
|enemy_name  = if the name differs from the page name, specify it here
|enemy_name  = if the name differs from the page name, specify it here
|image      = the image name, including the extension
|image      = image name
|size        = the image's size, in pixels (optional)
|size        = image size
|caption    = the image's caption (optional)
|caption    = image caption
|icon        = if it has an icon, specify the filename on the wiki here
|icon        = icon image name
|custom_icon = if the icon is not a Piklopedia one, but instead, custom-made, give this a value like "y"
|custom_icon = "y" if custom icon
|name        = scientific name
|name        = scientific name
|family      = family name
|family      = family name
Line 89: Line 179:
|underground = caves in which it appears
|underground = caves in which it appears
|challenge  = Challenge Mode levels in which it appears
|challenge  = Challenge Mode levels in which it appears
|2p          = 2-Player Battle areas in which it appears
|missionct  = Collect Treasure! levels in which it appears
|missionct   = Collect Treasure! Mission Mode areas in which it appears
|missionbe   = Battle Enemies! levels in which it appears
|missionbe  = Battle Enemies! Mission Mode areas in which it appears
|2p          = 2-Player Battle levels in which it appears
|bingo      = Bingo Battle areas in which it appears
|bingo      = Bingo Battle levels in which it appears
|weight      = its weight (use if the same in all games)
|weight      = e-Reader card height (all games)
|weight1    = its weight (Pikmin 1 value)
|weight1    = ditto (Pikmin 1 value)
|weight2    = its weight (Pikmin 2 value)
|weight2    = ditto (Pikmin 2 value)
|height      = its height, in mm, as given by the e-Reader cards (use if the same in all games)
|height      = e-Reader card height (all games)
|height1    = its height, in mm, as given by the e-Reader cards (Pikmin 1 value)
|height1    = ditto (Pikmin 1 value)
|height2    = its height, in mm, as given by the e-Reader cards (Pikmin 2 value)
|height2    = ditto (Pikmin 2 value)
|max_pikmin  = the maximum number of Pikmin that can carry it (use if the same in all games)
|max_pikmin  = maximum carriers (all games)
|max_pikmin1 = the maximum number of Pikmin that can carry it (Pikmin 1 value)
|max_pikmin1 = ditto (Pikmin 1 value)
|max_pikmin2 = the maximum number of Pikmin that can carry it (Pikmin 2 value)
|max_pikmin2 = ditto (Pikmin 2 value)
|seeds      = number of seeds that are released when it's brought to an onion (use if the same in all games)
|seeds      = seeds at an onion (all games)
|seeds1      = number of seeds that are released when it's brought to an onion (Pikmin 1 value)
|seeds1      = ditto (Pikmin 1 value)
|seeds2      = number of seeds that are released when it's brought to an onion (Pikmin 2 value)
|seeds2      = ditto (Pikmin 2 value)
|value      = its value in Pokos
|value      = value in Pokos
|attacks    = list of attacks (use if the same in all games)
|attacks    = list of attacks (all games)
|attacks1    = list of attacks (Pikmin 1 value)
|attacks1    = ditto (Pikmin 1 value)
|attacks2    = list of attacks (Pikmin 2 value)
|attacks2    = ditto (Pikmin 2 value)
|hp1        = amount of health in Pikmin
|hp1        = health in Pikmin
|hp2        = amount of health in Pikmin 2
|hp2        = health in Pikmin 2
|hp3        = amount of health in Pikmin 3
|hp3        = health in Pikmin 3
|piklopedia  = Piklopedia number, leave empty if N/A
|piklopedia  = Piklopedia number, leave empty if N/A
|noicons    = give it a value, like "y", to disable display of game icons (to avoid conflicts with other templates)
|noicons    = "y" to disable display of game icons
|nocat      = give it a value, like "y", to make the template not categorize the creature (for "creatures" that aren't creatures, like eggs)
|nocat      = "y" to not categorize the creature as enemy
|nofamily    = give it a value, like "y", to make the template not display the family line (for stuff like eggs)
|nofamily    = "y" to not display family
}}</pre>
}}</pre>


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