Template:Infobox enemy: Difference between revisions
Jump to navigation
Jump to search
m (Documented nocat.) |
(Changed the way the HP works. Hopefully this way, we can get enemies with different HP per game showing nicely.) |
||
Line 21: | Line 21: | ||
| width = "70%" | {{#if: {{{family|}}}|[[{{{family|Unknown}}}]]|Unknown}} | | width = "70%" | {{#if: {{{family|}}}|[[{{{family|Unknown}}}]]|Unknown}} | ||
|- | |- | ||
! width="30%" style="background: #e6e9ff;" | [[Areas | ! width="30%" style="background: #e6e9ff;" | [[Areas]] | ||
| width = "70%" | {{{areas|None}}} | | width = "70%" | {{{areas|None}}} | ||
|- | |- | ||
{{#if:{{{pikmin2|}}}|! width="30%" style="background: #e6e9ff;" {{Pipe}} [[Cave | {{#if:{{{pikmin2|}}}|! width="30%" style="background: #e6e9ff;" {{Pipe}} [[Cave]]s | ||
{{Pipe}} width = "70%" {{Pipe}} {{{underground|None}}} | {{Pipe}} width = "70%" {{Pipe}} {{{underground|None}}} | ||
{{Pipe}}-}} | {{Pipe}}-}} | ||
! width="30%" style="background: #e6e9ff;" | [[Challenge Mode | ! width="30%" style="background: #e6e9ff;" | [[Challenge Mode]] levels | ||
| width = "70%" | {{{challenge|None}}} | | width = "70%" | {{{challenge|None}}} | ||
|- | |- | ||
{{#if:{{{pikmin2|}}}|! width="30%" style="background: #e6e9ff;" {{Pipe}} [[2-Player Battle | {{#if:{{{pikmin2|}}}|! width="30%" style="background: #e6e9ff;" {{Pipe}} [[2-Player Battle]] levels | ||
{{Pipe}} width = "70%" {{Pipe}} {{{2p|None}}} | {{Pipe}} width = "70%" {{Pipe}} {{{2p|None}}} | ||
{{Pipe}}-}} | {{Pipe}}-}} | ||
! width="30%" style="background: #e6e9ff;" | Carry weight | ! 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 = "70%" | {{#if:{{{weight|}}}|{{{weight|}}}}} {{#if:{{{weight1|}}}|{{{weight1|}}} in ''[[Pikmin (game)|Pikmin]]''<br />{{{weight2|}}} in ''[[Pikmin 2]]''}} {{#if:{{{weight|}}}||{{#if:{{{weight1|}}}||N/A}} }} | ||
|- | |- | ||
Line 45: | Line 45: | ||
| width = "70%" | {{#if:{{{seeds|}}}|{{{seeds|}}}}} {{#if:{{{seeds1|}}}|{{{seeds1|}}} in ''[[Pikmin (game)|Pikmin]]''<br />{{{seeds2|}}} in ''[[Pikmin 2]]''}} {{#if:{{{seeds|}}}||{{#if:{{{seeds1|}}}||N/A}} }} | | width = "70%" | {{#if:{{{seeds|}}}|{{{seeds|}}}}} {{#if:{{{seeds1|}}}|{{{seeds1|}}} in ''[[Pikmin (game)|Pikmin]]''<br />{{{seeds2|}}} in ''[[Pikmin 2]]''}} {{#if:{{{seeds|}}}||{{#if:{{{seeds1|}}}||N/A}} }} | ||
|- | |- | ||
{{#if:{{{pikmin2|}}}|! width="30%" style="background: #e6e9ff;" {{Pipe}} | {{#if:{{{pikmin2|}}}|! width="30%" style="background: #e6e9ff;" {{Pipe}} [[Poko]] value | ||
{{Pipe}} width = "70%" {{Pipe}} {{#if:{{{value|}}}|{{{value|}}} [[Poko]]{{#ifeq:{{{value}}}|1||s}}|N/A}} | {{Pipe}} width = "70%" {{Pipe}} {{#if:{{{value|}}}|{{{value|}}} [[Poko]]{{#ifeq:{{{value}}}|1||s}}|N/A}} | ||
{{Pipe}}-}} | {{Pipe}}-}} | ||
Line 51: | Line 51: | ||
| width = "70%" | {{#if:{{{attacks|}}}|{{{attacks|}}}}} {{#if:{{{attacks1|}}}|{{{attacks1|}}} (''[[Pikmin (game)|Pikmin]]'')<br />{{{attacks2|}}} (''[[Pikmin 2]]'')}} {{#if:{{{attacks|}}}||{{#if:{{{attacks1|}}}||N/A}} }} | | 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| | ! width="30%" style="background: #e6e9ff;" | [[Health|Hit points]] | ||
| width = "70%" | {{#if:{{{ | | width = "70%" | {{#if:{{{hp1|}}} | {{tt|{{{hp1|}}} {{#if:{{{hp2|{{{hp3|}}}}}}| 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|}}}}}}| 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|}}}}}}| in ''[[Pikmin 3]]''}}|}} }} {{#if:{{{hp1|}}}||{{#if:{{{hp2|}}}||{{#if:{{{hp3|}}}||N/A}}}}}} | ||
|}{{#if:{{{nocat|}}}||<includeonly>{{#ifeq:{{{family|}}} | |} | ||
{{#if:{{{nocat|}}}||<includeonly>{{#ifeq:{{{family|}}} | |||
|Pikmin|[[Category:Pikmin species]]|{{#if:{{{family|}}} | |Pikmin|[[Category:Pikmin species]]|{{#if:{{{family|}}} | ||
|[[Category:{{{family}}}s]]|[[Category:Creatures with no known family]]}} }}{{#if:{{{pikmin|}}} | |[[Category:{{{family}}}s]]|[[Category:Creatures with no known family]]}} }}{{#if:{{{pikmin|}}} | ||
Line 63: | Line 64: | ||
==Use== | ==Use== | ||
<pre>{{Infobox enemy | <pre>{{Infobox enemy | ||
|pikmin = if it appears in Pikmin, give this parameter a value, like | |pikmin = if it appears in Pikmin, give this parameter a value, like "y" | ||
|pikmin2 = ditto, but for Pikmin 2 | |pikmin2 = ditto, but for Pikmin 2 | ||
|pikmin3 = ditto, but for Pikmin 3 | |pikmin3 = ditto, but for Pikmin 3 | ||
Line 71: | Line 72: | ||
|caption = the image's caption (optional) | |caption = the image's caption (optional) | ||
|icon = if it has an icon, specify the filename on the wiki here | |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 | |custom_icon = if the icon is not a Piklopedia one, but instead, custom-made, give this a value like "y" | ||
|name = scientific name | |name = scientific name | ||
|family = family name | |family = family name | ||
Line 94: | Line 95: | ||
|attacks1 = list of attacks (Pikmin 1 value) | |attacks1 = list of attacks (Pikmin 1 value) | ||
|attacks2 = list of attacks (Pikmin 2 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 | |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 | |nocat = give it a value, like "y", to make the template not categorize the creature (for "creatures" that aren't creatures, like eggs) | ||
}}</pre> | }}</pre> | ||
[[Category:Infobox templates|{{PAGENAME}}]] | [[Category:Infobox templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Revision as of 10:58, 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) }}