Template:Infobox enemy: Difference between revisions
Jump to navigation
Jump to search
m (Improved documentation.) |
(Moved stuff to the .css.) |
||
Line 1: | Line 1: | ||
{{#if:{{{noicons|}}}||{{game icons|pikmin={{{pikmin|}}}|pikmin2={{{pikmin2|}}}|pikmin3={{{pikmin3|}}}|pikminadventure={{{pikminadventure|}}}}}}} | {{#if:{{{noicons|}}}||{{game icons|pikmin={{{pikmin|}}}|pikmin2={{{pikmin2|}}}|pikmin3={{{pikmin3|}}}|pikminadventure={{{pikminadventure|}}}}}}} | ||
{| class="infobox" | {| class="infobox" | ||
! class="infoboxTitle" colspan="2" | | |||
{{#if:{{{icon|}}} | | {{#if:{{{icon|}}} | | ||
{{{!}} style = "min-width:100%;" | {{{!}} style = "min-width:100%;" | ||
Line 12: | Line 12: | ||
{{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}} | {{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}} | ||
{{!}}- }} | {{!}}- }} | ||
! width="30% | ! width="30%" | Appears in | ||
| 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="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]]''}} | ||
|- | |- | ||
! | ! Scientific name | ||
| {{#if:{{{name|}}}|''{{{name|}}}''|Unknown}} | |||
|- | |- | ||
{{#if:{{{nofamily|}}}||! | {{#if:{{{nofamily|}}}||! Family | ||
{{!}} {{#if:{{{nocat|}}}|{{{family}}}|{{#if:{{{family|}}}|[[{{{family}}} family|{{{family}}}]]|Unknown}}}} | |||
{{!}}-}} | {{!}}-}} | ||
! | ! [[Areas]] | ||
| {{{areas|None}}} | |||
|- | |- | ||
{{#if:{{{pikmin2|}}}|! | {{#if:{{{pikmin2|}}}|! [[Cave]]s | ||
{{!}} | {{!}} w{{{underground|None}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{pikmin|{{{pikmin2|}}}}}}|! | {{#if:{{{pikmin|{{{pikmin2|}}}}}}|! [[Challenge Mode]] levels | ||
{{!}} {{{challenge|None}}} | |||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{pikmin3|}}}|! | {{#if:{{{pikmin3|}}}|! [[Collect Treasure!]] levels | ||
{{!}} {{{missionct|None}}} | |||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{pikmin3|}}}|! | {{#if:{{{pikmin3|}}}|! [[Battle Enemies!]] levels | ||
{{!}} {{{missionbe|None}}} | |||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{pikmin2|}}}|! | {{#if:{{{pikmin2|}}}|! [[2-Player Battle]] levels | ||
{{!}} {{{2p|None}}} | |||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{pikmin3|}}}|! | {{#if:{{{pikmin3|}}}|! [[Bingo Battle]] levels | ||
{{!}} {{{bingo|None}}} | |||
{{!}}-}} | {{!}}-}} | ||
{{per-game field | {{per-game field | n = [[Carrying|Carry]] weight | v = {{{weight|}}} | v1 = {{{weight1|}}} | v2 = {{{weight2|}}} | v3 = {{{weight3|}}} | dv = N/A }} | ||
{{per-game field | {{per-game field | n = Max. carriers | v = {{{max_pikmin|}}} | v1 = {{{max_pikmin1|}}} | v2 = {{{max_pikmin2|}}} | v3 = {{{max_pikmin3|}}} | dv = N/A }} | ||
{{per-game field | {{per-game field | n = Height | v = {{{height|}}} | v1 = {{{height1|}}} | v2 = {{{height2|}}} | v3 = {{{height3|}}} | c = {{{height}}}mm | c1 = {{{height1}}}mm | c2 = {{{height2}}}mm | c3 = {{{height3}}}mm | dv = Unknown }} | ||
{{per-game field | {{per-game field | n = Seed worth | v = {{{seeds|}}} | v1 = {{{seeds1|}}} | v2 = {{{seeds2|}}} | v3 = {{{seeds3|}}} | dv = N/A }} | ||
{{#if:{{{pikmin2|}}}{{{pikmin3|}}} | {{per-game field | {{#if:{{{pikmin2|}}}{{{pikmin3|}}} | {{per-game field | n = [[Poko]] value | v = {{{value|}}} | v2 = {{{value2|}}} | v3 = {{{value3|}}} | c = {{pokos|{{{value}}}}} | c2 = {{pokos|{{{value2}}}}} | c3 = {{pokos|{{{value3}}}}} | dv = N/A }} }} | ||
{{per-game field | {{per-game field | n = Attacks | v = {{{attacks|}}} | v1 = {{{attacks1|}}} | v2 = {{{attacks2|}}} | v3 = {{{attacks3|}}} | dv = N/A }} | ||
{{per-game field | {{per-game field | n = [[Health|Hit points]] | v1 = {{{hp1|}}} | v2 = {{{hp2|}}} | v3 = {{{hp3|}}} | c1 = {{tt|{{{hp1|}}} HP|For reference, in Pikmin, a Dwarf Red Bulborb has 130 HP, and a Red Bulborb has 1100.}} | c2 = {{tt|{{{hp2|}}} HP|For reference, in Pikmin 2, a Dwarf Red Bulborb has 200 HP, and a Red Bulborb has 750.}} | c3 = {{tt|{{{hp3|}}} HP|For reference, in Pikmin 3, a Dwarf Red Bulborb has 100 HP, and a Red Bulborb has 1000.}} | dv = N/A }} | ||
{{#if:{{{pikmin2|}}}|{{ | {{#if:{{{pikmin2|}}}|{{!}}- | ||
! | ! [[Piklopedia|Number]] | ||
{{Pipe}} {{#if:{{{piklopedia|}}}|#{{{piklopedia}}}|N/A}} | |||
}} | }} | ||
|} | |} |
Revision as of 11:32, November 11, 2014
Infobox enemy | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Appears in | |||||||||||
Scientific name | Unknown | ||||||||||
Family | Unknown | ||||||||||
Areas | None | ||||||||||
Carry weight | N/A | Max. carriers | N/A | Height | 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.[1] |
height | No | Unknown | Height, as given by the e-Reader cards.[1] |
maxpikmin | No | N/A | Maximum number of carrier Pikmin.[1] |
seeds | No | N/A | Number of seeds it's worth when delivered to an Onion.[1] |
value | No | N/A | Number of Pokos it is worth, in either Pikmin 2, or Pikmin 3. |
attacks | No | N/A | The creature's attacks.[1] |
hp1 | No | Health in Pikmin.[2] | |
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). |
- ^ a b c d e 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 "weight" when the weight is the same in all games, but "weight1", "weight2" and "weight3" when each game has a different one.
- ^ Like the previous note, except the "same in all games" parameter should not be used. Even if it's the same in all games, write all three of them individually.
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 = }}