Pikmin 3 icon.png

Template:Infobox fruit: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
(Created page with "{{game icons|pikmin3=y}} {| class="infobox" align="right" style="width: 25em; font-size: 82%; text-align: left; border-style: solid; border-width: 1px; border-color: grey" ! c...")
 
(Added caption parameter and changed some things in the documentation.)
Line 1: Line 1:
{{game icons|pikmin3=y}}
{{game icons|pikmin3=y}}
{| class="infobox" align="right" style="width: 25em; font-size: 82%; text-align: left; border-style: solid; border-width: 1px; border-color: grey"
{| class="infobox" align="right" style="width: 25em; 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;" | ''{{{fruit_name}}}''
! colspan="2" style="font-size: 140%; background: #ccf; text-align: center;" | ''{{{fruit_name|{{PAGENAME}} }}}''
|-
|-
! colspan="2" style="background: #fff; text-align: center;" | {{#if:{{{image|}}}|[[Image:{{{image}}}{{!}}{{{size|160px}}}]]}}
! colspan="2" style="background: #fff; text-align: center;" | {{#if:{{{image|}}}|[[Image:{{{image}}}{{!}}{{{size|160px}}}]]}}
|-
|-
{{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}}
{{!}}- }}
! width="30%" style="background: #e6e9ff;" | Juice Amount
! width="30%" style="background: #e6e9ff;" | Juice Amount
| width="70%" | {{{juice}}}
| width="70%" | {{{juice}}}
Line 28: Line 30:


==Use==
==Use==
<pre>{{infobox fruit                           *optional field
<pre>{{infobox fruit
*|image=image name with extension
|image             = image name with extension
*|size=image size
|size             = image size (optional)
|juice=amount of juice the fruit provides
|caption          = image caption (optional)
*|value=value in Pokos (Mission mode only)
|juice             = amount of juice the fruit provides
|weight=weight
|value             = value in Pokos (Mission mode only, optional)
|max_pikmin=maximum number of carriers
|weight           = weight
*|location=location
|max_pikmin       = maximum number of carriers
*|mission_location=Mission Mode locations
|location         = location
|mission_location = Mission Mode locations
}}</pre>
}}</pre>


[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>

Revision as of 09:45, November 15, 2013

Infobox fruit
Juice Amount {{{juice}}}
Value {{{value}}}
Weight {{{weight}}}
Max Carriers {{{max_pikmin}}}
Location(s) {{{location}}}
Mission Mode Location(s) {{{mission_location}}}

Use

{{infobox fruit
|image             = image name with extension
|size              = image size (optional)
|caption           = image caption (optional)
|juice             = amount of juice the fruit provides
|value             = value in Pokos (Mission mode only, optional)
|weight            = weight
|max_pikmin        = maximum number of carriers
|location          = location
|mission_location  = Mission Mode locations
}}