44,477
edits
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|}}}|[[ | ! 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 /> | ||
{{ | {{!}}- | ||
! style="background: #e6e9ff;" {{ | ! style="background: #e6e9ff;" {{!}} Size | ||
{{ | {{!}} {{{height|}}}mm|}} | ||
|}<noinclude> | |}<noinclude> | ||
{{clear}} | {{clear}} | ||
== | ==Info== | ||
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 | |||
|caption | ==Parameters== | ||
| | {| class = "wikitable" | ||
| | ! Parameter || Mandatory || Default || Detailed description | ||
|strength | |- | ||
|mobility | ! image | ||
|throw | | No || || Image name, with extension. | ||
|carry | |- | ||
|height | ! 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> |