Pikmin (game)

Template:Infobox ship part: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
No edit summary
(Added caption parameter and changed some things in the documentation.)
Line 5: Line 5:
! colspan="2" style="background: #fff; text-align: center;" | {{#if:{{{image|}}}|[[Image:{{{image|}}}{{pipe}}{{{size|160px}}}]]}}
! colspan="2" style="background: #fff; text-align: center;" | {{#if:{{{image|}}}|[[Image:{{{image|}}}{{pipe}}{{{size|160px}}}]]}}
|-
|-
! style="background: #e6e9ff;" | || This is {{#ifeq:{{{mandatory}}}|no|not }} a mandatory ship part.
{{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}}
{{!}}- }}
! colspan="2" style="text-align:center" | This is {{#ifeq:{{{mandatory}}}|no|not }} a mandatory ship part.
|-
|-
! style="background: #e6e9ff;" | Weight || {{{weight}}}
! style="background: #e6e9ff;" | Weight || {{{weight}}}
Line 16: Line 18:
{{clear}}
{{clear}}
==Use==
==Use==
<pre>{{infobox ship part                             *optional field
<pre>{{infobox ship part
*|image=image name with extension
|image       = image name with extension
*|size=image size
|size       = image size (optional)
|mandatory='yes' or 'no'
|mandatory   = 'yes' or 'no'
|weight=weight
|weight     = weight
*|max_pikmin=maximum number of carriers
|max_pikmin = maximum number of carriers
|location=area found in
|location   = area found in
}}</pre></noinclude>
}}</pre></noinclude>

Revision as of 09:17, November 15, 2013

{{{name}}}
This is a mandatory ship part.
Weight {{{weight}}}
Location [[{{{location}}}]]

Use

{{infobox ship part
|image       = image name with extension
|size        = image size (optional)
|mandatory   = 'yes' or 'no'
|weight      = weight
|max_pikmin  = maximum number of carriers
|location    = area found in
}}