Template:Infobox enemy: Difference between revisions

Added the technical name field, and some missing ones, removed some incorrect capitalizations, reorganized instructions.
m (ugh)
(Added the technical name field, and some missing ones, removed some incorrect capitalizations, reorganized instructions.)
Line 3: Line 3:
|-
|-
! colspan="2" style="background: #fff; text-align: center;" | {{#if:{{{image|}}}|[[Image:{{{image|}}}{{pipe}}{{{size}}}]]|}}
! colspan="2" style="background: #fff; text-align: center;" | {{#if:{{{image|}}}|[[Image:{{{image|}}}{{pipe}}{{{size}}}]]|}}
{{#if: {{{technical|}}}|
{{Pipe}}-
! width="30%" style="background: #e6e9ff;" {{Pipe}} Technical name
{{Pipe}} width="70%" {{Pipe}} {{{technical}}}|}}
|-
|-
! width="30%" style="background: #e6e9ff;" | Scientific Name
! width="30%" style="background: #e6e9ff;" | Scientific name
| width = "70%" | '''''{{{name}}}'''''
| width = "70%" | '''''{{{name}}}'''''
|-
|-
Line 13: Line 17:
| width = "70%" | {{{areas}}}{{#if:{{{underground|}}}|<br />
| width = "70%" | {{{areas}}}{{#if:{{{underground|}}}|<br />
{{Pipe}}-
{{Pipe}}-
! width="30%" style="background: #e6e9ff;" {{Pipe}} [[Cave{{Pipe}}<font style="color:black">Underground Areas</font>]]
! width="30%" style="background: #e6e9ff;" {{Pipe}} [[Cave{{Pipe}}<font style="color:black">Underground areas</font>]]
{{Pipe}} width = "70%" {{Pipe}} {{{underground|}}}|}}{{#if:{{{challenge|}}}|<br />
{{Pipe}} width = "70%" {{Pipe}} {{{underground|}}}|}}{{#if:{{{challenge|}}}|<br />
{{Pipe}}-
{{Pipe}}-
Line 19: Line 23:
{{Pipe}} width = "70%" {{Pipe}} {{{challenge|}}}|}}{{#if:{{{weight|}}}|<br />
{{Pipe}} width = "70%" {{Pipe}} {{{challenge|}}}|}}{{#if:{{{weight|}}}|<br />
{{Pipe}}-
{{Pipe}}-
! width="30%" style="background: #e6e9ff;" {{Pipe}} Carry Weight
! width="30%" style="background: #e6e9ff;" {{Pipe}} Carry weight
{{Pipe}} width = "70%" {{Pipe}} {{{weight|}}}|}}{{#if:{{{weight1|}}}|<br />
{{Pipe}} width = "70%" {{Pipe}} {{{weight|}}}|}}{{#if:{{{weight1|}}}|<br />
{{Pipe}}-
{{Pipe}}-
! width="30%" style="background: #e6e9ff;" {{Pipe}} Carry Weight
! width="30%" style="background: #e6e9ff;" {{Pipe}} Carry weight
{{Pipe}} width = "70%" {{Pipe}} {{{weight1|}}} in [[Pikmin (game)|Pikmin]]
{{Pipe}} width = "70%" {{Pipe}} {{{weight1|}}} in ''[[Pikmin (game)|Pikmin]]''<br />{{{weight2|}}} in ''[[Pikmin 2]]''|}}{{#if:{{{height|}}}|<br />
{{{weight2|}}} in [[Pikmin 2]]|}}{{#if:{{{height|}}}|<br />
{{Pipe}}-
{{Pipe}}-
! width="30%" style="background: #e6e9ff;" {{Pipe}} Size
! width="30%" style="background: #e6e9ff;" {{Pipe}} Size
Line 30: Line 33:
{{Pipe}}-
{{Pipe}}-
! width="30%" style="background: #e6e9ff;" {{Pipe}} Size
! width="30%" style="background: #e6e9ff;" {{Pipe}} Size
{{Pipe}} width = "70%" {{Pipe}} {{{height1|}}}{{#ifeq:{{{height1}}}|N/A||mm}} in [[Pikmin (game)|Pikmin]]
{{Pipe}} width = "70%" {{Pipe}} {{{height1|}}}{{#ifeq:{{{height1}}}|N/A||mm}} in ''[[Pikmin (game)|Pikmin]]''<br />{{{height2|}}}{{#ifeq:{{{height2}}}|N/A||mm}} in ''[[Pikmin 2]]''|}}{{#if:{{{max_pikmin|}}}|<br />
{{{height2|}}}{{#ifeq:{{{height2}}}|N/A||mm}} in [[Pikmin 2]]|}}{{#if:{{{max_pikmin|}}}|<br />
{{Pipe}}-
{{Pipe}}-
! width="30%" style="background: #e6e9ff;" {{Pipe}} Max. Carriers
! width="30%" style="background: #e6e9ff;" {{Pipe}} Max. carriers
{{Pipe}} width = "70%" {{Pipe}} {{{max_pikmin|}}} Pikmin|}}{{#if:{{{max_pikmin1|}}}|<br />
{{Pipe}} width = "70%" {{Pipe}} {{{max_pikmin|}}} Pikmin|}}{{#if:{{{max_pikmin1|}}}|<br />
{{Pipe}}-
{{Pipe}}-
! width="30%" style="background: #e6e9ff;" {{Pipe}} Max. Carriers
! width="30%" style="background: #e6e9ff;" {{Pipe}} Max. carriers
{{Pipe}} width = "70%" {{Pipe}} {{{max_pikmin1|}}} Pikmin in [[Pikmin (game)|Pikmin]]
{{Pipe}} width = "70%" {{Pipe}} {{{max_pikmin1|}}} Pikmin in ''[[Pikmin (game)|Pikmin]]''<br />{{{max_pikmin2|}}} Pikmin in ''[[Pikmin 2]]''|}}{{#if:{{{seeds|}}}|<br />
{{{max_pikmin2|}}} Pikmin in [[Pikmin 2]]|}}{{#if:{{{seeds|}}}|<br />
{{Pipe}}-
{{Pipe}}-
! width="30%" style="background: #e6e9ff;" {{Pipe}} Seed Worth
! width="30%" style="background: #e6e9ff;" {{Pipe}} Seed worth
{{Pipe}} width = "70%" {{Pipe}} {{{seeds|}}}|}}{{#if:{{{value|}}}|<br />
{{Pipe}} width = "70%" {{Pipe}} {{{seeds|}}}|}}{{#if:{{{seeds1|}}}|<br />
{{Pipe}}-
{{Pipe}}-
! width="30%" style="background: #e6e9ff;" {{Pipe}} <font style="color:black">Treasure Value</font>
! width="30%" style="background: #e6e9ff;" {{Pipe}} Seed worth
{{Pipe}} width = "70%" {{Pipe}} {{{seeds1|}}} in ''[[Pikmin (game)|Pikmin]]''<br />{{{seeds2|}}} in ''[[Pikmin 2]]''|}}{{#if:{{{value|}}}|<br />
{{Pipe}}-
! width="30%" style="background: #e6e9ff;" {{Pipe}} <font style="color:black">Treasure value</font>
{{Pipe}} width = "70%" {{Pipe}} {{{value|}}} [[poko{{#ifeq:{{{value}}}|1||s}}]]|}}{{#if:{{{attacks|}}}|<br />
{{Pipe}} width = "70%" {{Pipe}} {{{value|}}} [[poko{{#ifeq:{{{value}}}|1||s}}]]|}}{{#if:{{{attacks|}}}|<br />
{{Pipe}}-
{{Pipe}}-
! width="30%" style="background: #e6e9ff;" {{Pipe}} Attacks
! width="30%" style="background: #e6e9ff;" {{Pipe}} Attacks
{{Pipe}} width = "70%" {{Pipe}} {{{attacks|}}}|}}{{#if:{{{vitality|}}}|<br />
{{Pipe}} width = "70%" {{Pipe}} {{{attacks|}}}|}}{{#if:{{{attacks1|}}}|<br />
{{Pipe}}-
! width="30%" style="background: #e6e9ff;" {{Pipe}} Attacks
{{Pipe}} width = "70%" {{Pipe}} {{{attacks1|}}} (''[[Pikmin (game)|Pikmin]]'')<br />{{{attacks2|}}} (''[[Pikmin 2]]'')|}}{{#if:{{{vitality|}}}|<br />
{{Pipe}}-
{{Pipe}}-
! width="30%" style="background: #e6e9ff;" {{Pipe}} Hit Points
! width="30%" style="background: #e6e9ff;" {{Pipe}} Hit points
{{Pipe}} width = "70%" {{Pipe}} {{{vitality|}}}|}}{{#if:{{{vitality1|}}}|<br />
{{Pipe}} width = "70%" {{Pipe}} {{{vitality|}}}|}}{{#if:{{{vitality1|}}}|<br />
{{Pipe}}-
{{Pipe}}-
! width="30%" style="background: #e6e9ff;" {{Pipe}} Hit Points
! width="30%" style="background: #e6e9ff;" {{Pipe}} Hit points
{{Pipe}} width = "70%" {{Pipe}} {{{vitality1|}}} in Pikmin 1
{{Pipe}} width = "70%" {{Pipe}} {{{vitality1|}}} in ''[[Pikmin (game)|Pikmin]]''<br />{{{vitality2|}}} in ''[[Pikmin 2]]''|}}
{{{vitality2|}}} in Pikmin 2|}}
|}
|}<includeonly>{{#ifeq:{{{family}}}|Pikmin|[[Category:Pikmin species]]|{{#ifeq:{{{family}}}|Unknown|[[Category:Creatures with no known family]]|{{#ifeq:{{{family}}}|Unknown family|[[Category:Plants with no known family]]|[[Category:{{{family}}}s]]}}}}}}</includeonly><noinclude>
<includeonly>{{#ifeq:{{{family}}}|Pikmin|[[Category:Pikmin species]]|{{#ifeq:{{{family}}}|Unknown|[[Category:Creatures with no known family]]|{{#ifeq:{{{family}}}|Unknown family|[[Category:Plants with no known family]]|[[Category:{{{family}}}s]]}}}}}}</includeonly><noinclude>
[[Category:Infobox templates|{{PAGENAME}}]]
 
{{clear}}
{{clear}}
==Use==
==Use==
<pre>{{infobox enemy                             *optional field
<pre>{{Infobox enemy
*|image=image title including extension
|image     =
*|size=image size
|size      =
|name=scientific name
|technical  =
|family=family name
|name      =
|areas=areas found in
|family    =
*|underground=caves found in
|areas      =
*|challenge=Challenge Mode levels found in
|underground=
*|weight=weight                                     [Use EITHER 'weight' OR
|challenge  =
*|weight1=weight in Pikmin 1                        'weight1' and 'weight2']
|weight    =
*|weight2=weight in Pikmin 2
|weight1    =
*|height=size in mm as given by e-Reader cards     [Use EITHER 'height' OR
|weight2    =
*|height1=size in Pikmin 1                          'height1' and 'height2']
|height    =
*|height2=size in Pikmin 2
|height1    =
*|max_pikmin=max. carriers                          [Use EITHER 'max_pikmin' OR
|height2    =
*|max_pikmin1=max. carriers in Pikmin 1              'max_pikmin1' and 'max_pikmin2']
|max_pikmin =
*|max_pikmin2=max. carriers in Pikmin 2
|max_pikmin1=
*|seeds=number of seeds released when returned to Onion
|max_pikmin2=
*|value=value in Pokos
|seeds      =
*|attacks=attacks, 'N/A' if none
|seeds1    =
*|vitality=HP                                      [Use EITHER 'vitality' OR
|seeds2    =
*|vitality1=HP in Pikmin 1                          'vitality1' and 'vitality2']
|value      =
*|vitality2=HP in Pikmin 2</pre></noinclude>
|attacks    =
|attacks1  =
|attacks2  =
|vitality  =
|vitality1  =
|vitality2  =
}}</pre>
 
==Parameters==
Bold means mandatory.
 
*image: The image title, including the extension.
*size: The image's size.
*technical: Technical name.
*'''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.*
*weight1: In ''Pikmin''.
*weigth2: In ''Pikmin 2''.
*height: Its height, in mm, as given by the e-Reader cards.*
*height1: In ''Pikmin''.
*height2: In ''Pikmin 2''.
*max_pikmin: The maximum number of Pikmin that can carry it.*
*max_pikmin1: In ''Pikmin''.
*max_pikmin2: In ''Pikmin 2''.
*seeds: Number of seeds that are released when it's brought to an onion.*
*seeds1: In ''Pikmin''.
*seeds2: In ''Pikmin 2''.
*value: Its value in Pokos.
*attacks: Its attacks. Use '''N/A''' if there's none.*
*attacks1: In ''Pikmin''.
*attacks2: In ''Pikmin 2''.
*vitality: Its HP, in units.*
*vitality1: In ''Pikmin''.
*vitality2: In ''Pikmin 2''.
 
<nowiki>*</nowiki> Only use this if it's the same in all games. If it's not, use the following ones.
 
[[Category:Infobox templates|{{PAGENAME}}]]
</noinclude>