Template:Infobox enemy: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
(Changed the way the HP works. Hopefully this way, we can get enemies with different HP per game showing nicely.)
m (Double spaces.)
Line 52: Line 52:
|-
|-
! width="30%" style="background: #e6e9ff;" | [[Health|Hit points]]
! width="30%" style="background: #e6e9ff;" | [[Health|Hit points]]
| width = "70%" | {{#if:{{{hp1|}}} | {{tt|{{{hp1|}}} {{#if:{{{hp2|{{{hp3|}}}}}}|&nbsp;in ''[[Pikmin (game)|Pikmin]]''}}|For reference, in this game, a Dwarf Red Bulborb has 130 hit points, and a Red Bulborb has 1100.}} {{#if:{{{hp2}}}|<br>}} }} {{#if:{{{hp2|}}} | {{tt|{{{hp2|}}} {{#if:{{{hp1|{{{hp3|}}}}}}|&nbsp;in ''[[Pikmin 2]]''}}|For reference, in this game, a Dwarf Red Bulborb has 200 hit points, 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}}}}}}
| width = "70%" | {{#if:{{{hp1|}}} | {{tt|{{{hp1|}}}{{#if:{{{hp2|{{{hp3|}}}}}}|&nbsp;in ''[[Pikmin (game)|Pikmin]]''}}|For reference, in this game, a Dwarf Red Bulborb has 130 hit points, and a Red Bulborb has 1100.}} {{#if:{{{hp2}}}|<br>}} }} {{#if:{{{hp2|}}} | {{tt|{{{hp2|}}}{{#if:{{{hp1|{{{hp3|}}}}}}|&nbsp;in ''[[Pikmin 2]]''}}|For reference, in this game, a Dwarf Red Bulborb has 200 hit points, 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}}}}}}
|}
|}
{{#if:{{{nocat|}}}||<includeonly>{{#ifeq:{{{family|}}}
{{#if:{{{nocat|}}}||<includeonly>{{#ifeq:{{{family|}}}

Revision as of 11:02, July 8, 2014

Infobox enemy

Appears in
Scientific name Unknown
Family Unknown
Areas None
Challenge Mode levels None
Carry weight N/A
Max. carriers N/A
Size Unknown
Seed worth N/A
Attacks N/A
Hit points N/A


Use

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