Template:Infobox pikmin: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
m (Documented the caption.)
(New documentation style.)
Line 2: Line 2:
! colspan="2" style="font-size: 140%; background: #ccf; text-align: center;" | ''{{{name|{{PAGENAME}} }}}''
! colspan="2" style="font-size: 140%; background: #ccf; text-align: center;" | ''{{{name|{{PAGENAME}} }}}''
|-
|-
! colspan="2" style="background: #fff; text-align: center;" | {{#if:{{{image|}}}|[[Image:{{{image|}}}{{Pipe}}{{{size|200px}}}]]|}}
! colspan="2" style="background: #fff; text-align: center;" | {{#if:{{{image|}}}|[[File:{{{image|}}}{{!}}{{{size|200px}}}]]|}}
|-
|-
{{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}}
{{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}}
Line 20: Line 20:
! style="background: #e6e9ff;" | [[Carrying]] capacity
! style="background: #e6e9ff;" | [[Carrying]] capacity
| {{{carry}}}{{#if:{{{height|}}}|<br />
| {{{carry}}}{{#if:{{{height|}}}|<br />
{{Pipe}}-
{{!}}-
! style="background: #e6e9ff;" {{Pipe}} Size
! style="background: #e6e9ff;" {{!}} Size
{{Pipe}} {{{height|}}}mm|}}
{{!}} {{{height|}}}mm|}}
|}<noinclude>[[Category:Infobox templates|{{PAGENAME}}]]
|}<noinclude>
 
{{clear}}
{{clear}}
==Use==
==Info==
<pre>{{infobox pikmin
Place this template at the top of [[Pikmin family|Pikmin type]] articles. This will create an information box with data about the Pikmin type.
|image     = image name with extension
 
|caption   = caption for the image (optional)
==Parameters==
|size      = image size (optional)
{| class = "wikitable"
|resistance = lethal hazards resistant to
! Parameter || Mandatory || Default || Detailed description
|strength   = relative strength (qualitative)
|-
|mobility   = mobility
! image
|throw     = throw angle (qualitative)
| No ||  || Image name, with extension.
|carry     = carrying capacity
|-
|height     = size in mm as given by e-Reader cards (optional)
! size
}}</pre></noinclude>
| No || 200px || Image size.
|-
! caption
| No ||  || Caption for the image, if needed.
|-
! resistance
| '''Yes''' ||  || Lethal [[hazards]] the Pikmin type is resistant to.
|-
! strength
| '''Yes''' ||  || Relative attack strength. This is qualitative, so "Normal", "High" or "Low" should work.
|-
! mobility
| '''Yes''' ||  || Relative movement speed. This is qualitative, so "Normal", "Fast" or "Slow" should work.
|-
! throw
| '''Yes''' ||  || Throw angle. This is qualitative, so "Normal", "High" or "Low" should work.
|-
! carry
| '''Yes''' ||  || Carrying capacity.
|-
! height
| No ||  || Size in mm, as given by the [[e-Reader]] cards.
|-
! name
| No || ''<nowiki>{{PAGENAME}}</nowiki>'' || If the Pikmin type's name is different from the page title's, specify the name here.
|}
 
==Template==
<pre>
{{infobox pikmin
|image      =
|size      =
|caption    =
|resistance =
|strength  =
|mobility  =
|throw      =
|carry      =
|height    =
|name      =
}}
</pre>
 
[[Category:Infobox templates]]
</noinclude>

Revision as of 08:54, October 28, 2014

Infobox pikmin
Resistance {{{resistance}}}
Attack {{{strength}}}
Mobility {{{mobility}}}
Throw {{{throw}}}
Carrying capacity {{{carry}}}

Info

Place this template at the top of Pikmin type articles. This will create an information box with data about the Pikmin type.

Parameters

Parameter Mandatory Default Detailed description
image No Image name, with extension.
size No 200px Image size.
caption No Caption for the image, if needed.
resistance Yes Lethal hazards the Pikmin type is resistant to.
strength Yes Relative attack strength. This is qualitative, so "Normal", "High" or "Low" should work.
mobility Yes Relative movement speed. This is qualitative, so "Normal", "Fast" or "Slow" should work.
throw Yes Throw angle. This is qualitative, so "Normal", "High" or "Low" should work.
carry Yes Carrying capacity.
height No Size in mm, as given by the e-Reader cards.
name No {{PAGENAME}} If the Pikmin type's name is different from the page title's, specify the name here.

Template

{{infobox pikmin
|image      = 
|size       = 
|caption    = 
|resistance = 
|strength   = 
|mobility   = 
|throw      = 
|carry      = 
|height     = 
|name       = 
}}