Template:Infobox enemy: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
(magic)
(Added caption parameter and changed some things in the documentation.)
Line 3: Line 3:
! colspan="2" style="font-size: 140%; background: #ccf; text-align: center;" | ''{{PAGENAME}}''
! colspan="2" style="font-size: 140%; background: #ccf; text-align: center;" | ''{{PAGENAME}}''
|-
|-
! colspan="2" style="background: #fff; text-align: center;" | {{#if:{{{image|}}}|[[Image:{{{image}}}|{{{size}}}]]|}}
{{#if:{{{image|}}}|! colspan="2" style="background: #fff; text-align: center;" {{!}} [[Image:{{{image}}}|{{{size}}}]]|}}
|-
{{!}}- }}
{{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}}
{{!}}- }}
! 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|}}}|, |{{#if:{{{pikmin3|}}}|, }}}}}}{{#if:{{{pikmin2|}}}|''[[Pikmin 2]]''{{#if:{{{pikmin3|}}}|, }}}}{{#if:{{{pikmin3|}}}|''[[Pikmin 3]]''}}
Line 53: Line 55:
==Use==
==Use==
<pre>{{Infobox enemy
<pre>{{Infobox enemy
|pikmin     =
|pikmin     = if it appears in Pikmin, give this parameter a value, like ''y''
|pikmin2   =
|pikmin2     = ditto, but for Pikmin 2
|pikmin3   =
|pikmin3     = ditto, but for Pikmin 3
|plant      =
|image      = the image name, including the extension
|image     =
|size        = the image's size, in pixels (optional)
|size      =
|caption    = the image's caption (optional)
|name       =
|name       = scientific name
|family     =
|family     = family name
|areas     =
|areas       = areas in which it appears
|underground=
|underground = caves in which it appears
|challenge =
|challenge   = Challenge Mode levels in which it appears
|weight     =
|weight     = its weight (use if the same in all games)
|weight1   =
|weight1     = its weight (Pikmin 1 value)
|weight2   =
|weight2     = its weight (Pikmin 2 value)
|height     =
|height     = its height, in mm, as given by the e-Reader cards (use if the same in all games)
|height1   =
|height1     = its height, in mm, as given by the e-Reader cards (Pikmin 1 value)
|height2   =
|height2     = its height, in mm, as given by the e-Reader cards (Pikmin 2 value)
|max_pikmin =
|max_pikmin = the maximum number of Pikmin that can carry it (use if the same in all games)
|max_pikmin1=
|max_pikmin1 = the maximum number of Pikmin that can carry it (Pikmin 1 value)
|max_pikmin2=
|max_pikmin2 = the maximum number of Pikmin that can carry it (Pikmin 2 value)
|seeds     =
|seeds       = number of seeds that are released when it's brought to an onion (use if the same in all games)
|seeds1     =
|seeds1     = number of seeds that are released when it's brought to an onion (Pikmin 1 value)
|seeds2     =
|seeds2     = number of seeds that are released when it's brought to an onion (Pikmin 2 value)
|value     =
|value       = its value in Pokos
|attacks   =
|attacks     = list of attacks (use if the same in all games)
|attacks1   =
|attacks1   = list of attacks (Pikmin 1 value)
|attacks2   =
|attacks2   = list of attacks (Pikmin 2 value)
|vitality   =
|vitality   = amount of health (use if the same in all games)
|vitality1 =
|vitality1   = amount of health (Pikmin 1 value)
|vitality2 =
|vitality2   = amount of health (Pikmin 2 value)
}}</pre>
}}</pre>
==Parameters==
*''pikmin'': If it appears in ''Pikmin'', give this parameter a value, like ''y''.
*''pikmin2'': If it appears in ''Pikmin 2'', give this parameter a value, like ''y''.
*''pikmin3'': If it appears in ''Pikmin 3'', give this parameter a value, like ''y''.
*''image'': The image name, including the extension.
*''size'': The image's size, in pixels.
*''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.
*''weight'' or ''weight1'', ''weight2'': Its weight, in carriers.*
*''height'' or ''height1'', height2: Its height, in mm, as given by the e-Reader cards.*
*''max_pikmin'' or ''max_pikmin1'', ''max_pikmin2'': The maximum number of Pikmin that can carry it.*
*''seeds'' or ''seeds1'', ''seeds2'': Number of seeds that are released when it's brought to an onion.*
*''value'': Its value in Pokos.
*''attacks'' or ''attacks1'', ''attacks2'': Its attacks.*
*''vitality'' or ''vitality1'', ''vitality2'': Its HP.*
<nowiki>*</nowiki> Use the parameter without a number if the value is present and the same in both games; otherwise, use both of the numbered ones.


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

Revision as of 09:29, November 15, 2013

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
|image       = the image name, including the extension
|size        = the image's size, in pixels (optional)
|caption     = the image's caption (optional)
|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
|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)
|vitality    = amount of health (use if the same in all games)
|vitality1   = amount of health (Pikmin 1 value)
|vitality2   = amount of health (Pikmin 2 value)
}}