Template:Infobox ship part: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
No edit summary
(Categorized mandatory and optional parts.)
Line 1: Line 1:
{{#if:{{{noicons|}}}||{{game icons|pikmin=y}}}}
{{#if:{{{noicons|}}}||<includeonly>{{game icons|pikmin=y}}</includeonly>}}
{| class="infobox" align="right" style="width: 24em; font-size: 82%; text-align: left; border-style: solid; border-width: 1px; border-color: grey"
{| class="infobox" align="right" style="width: 24em; font-size: 82%; text-align: left; border-style: solid; border-width: 1px; border-color: grey"
! colspan="2" style="font-size: 140%; background: #ccf; text-align: center;" | ''{{{name}}}''
! colspan="2" style="font-size: 140%; background: #ccf; text-align: center;" | ''{{{name}}}''
Line 14: Line 14:
|-
|-
! style="background: #e6e9ff;" | Location || [[{{{location}}}]]
! style="background: #e6e9ff;" | Location || [[{{{location}}}]]
|}<noinclude>
|}<includeonly>{{#ifeq:{{{mandatory}}}|no|[[Category:Optional ship parts]]|[[Category:Mandatory ship parts]]}}</includeonly><noinclude>
[[Category:Infobox templates|{{PAGENAME}}]]
[[Category:Infobox templates|{{PAGENAME}}]]
{{clear}}
{{clear}}

Revision as of 11:48, August 27, 2014

{{{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
|noicons     = whether to disable display of game icons (to avoid conflicts with other templates)
}}