Pikmin 3

Template:Infobox fruit: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
mNo edit summary
(Added parameters to manage individual parts, for fruits that are not single units.)
Line 11: Line 11:
{{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}}
{{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}}
{{!}}- }}
{{!}}- }}
! style="width: 30%;" | Juice Amount
! style="width: 30%;" | Juice amount
| {{{juice}}}
| {{{juice}}}{{#if:{{{juicep|}}}|(whole fruit)<br>{{{juicep}}} (each part)}}
|-
|-
! Mission Mode Value
! Mission Mode value
| {{Pokos|{{{value}}}}}
| {{Pokos|{{{value}}}}}{{#if:{{{valuep|}}}|(whole fruit)<br>{{pokos|{{{valuep}}}}} (each part)}}
|-
|-
! Weight
! Weight
| {{{weight}}}
| {{{weight}}}{{#if:{{{weightp|}}}|(whole fruit)<br>{{{weightp}}} (each part)}}
|-
|-
! Max Carriers
! Max carriers
| {{{max_pikmin}}}
| {{{max_pikmin}}}{{#if:{{{max_pikminp|}}}|(whole fruit)<br>{{{max_pikminp}}} (each part)}}
|-
|-
! Location(s)
! Locations
| {{{location}}}
| {{{location}}}
|-
|-
Line 51: Line 51:
| No ||  || Name of the fruit's icon, from the [[Fruit File]], with extension.
| No ||  || Name of the fruit's icon, from the [[Fruit File]], with extension.
|-
|-
! juice
! juice<ref name="part">A parameter with the same name as this one, but ending with a "p" also exists. This is the value of each individual part that makes up the whole fruit.</ref>
| '''Yes''' ||  || Amount of juice the fruit provides.
| '''Yes''' ||  || Amount of juice the whole fruit provides.
|-
|-
! value
! value<ref name="part"/>
| '''Yes''' ||  || Mission Mode value.
| '''Yes''' ||  || Mission Mode value for the whole fruit.
|-
|-
! weight
! weight<ref name="part"/>
| '''Yes''' ||  || Weight.
| '''Yes''' ||  || The whole fruit's weight.
|-
|-
! max_pikmin
! max_pikmin<ref name="part"/>
| '''Yes''' ||  || Maximum number of carrier Pikmin.
| '''Yes''' ||  || Maximum number of carrier Pikmin for the whole fruit.
|-
|-
! location
! location
Line 72: Line 72:
| No ||  || If this template shares a page with a treasure infobox template, give this a value, like "y".
| No ||  || If this template shares a page with a treasure infobox template, give this a value, like "y".
|}
|}
<references/>


==Template==
==Template==
<pre>
<pre>
{{infobox fruit
{{infobox fruit
|image     =  
|image       =  
|size       =  
|size       =  
|caption   =  
|caption     =  
|icon      =  
|icon       =
|juice     =  
|juice       =  
|value      =  
|juicep     =  
|weight    =  
|value       =
|max_pikmin =  
|valuep     =  
|location   =  
|weight     =
|clash     =  
|weightp     =  
|tclash     =  
|max_pikmin =
|max_pikminp =  
|location   =  
|clash       =  
|tclash     =  
}}
}}
</pre>
</pre>


[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Revision as of 07:26, February 13, 2015

Infobox fruit
Juice amount {{{juice}}}
Mission Mode value Poko × {{{value}}}
Weight {{{weight}}}
Max carriers {{{max_pikmin}}}
Locations {{{location}}}

Info

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

Articles with this template are automatically categorized under Category:Fruits.

Parameters

Parameter Mandatory Default Detailed description
image No Image name, with extension.
size No 160px Size of the image.
caption No Caption for the image, if needed.
icon No Name of the fruit's icon, from the Fruit File, with extension.
juice[1] Yes Amount of juice the whole fruit provides.
value[1] Yes Mission Mode value for the whole fruit.
weight[1] Yes The whole fruit's weight.
max_pikmin[1] Yes Maximum number of carrier Pikmin for the whole fruit.
location Yes Areas it can be found on. Remember to add the links to the area articles too.
clash No If this has a value, like "y", it avoids conflicts with other templates ({{game icons}} clashing, or title clashing).
tclash No If this template shares a page with a treasure infobox template, give this a value, like "y".
  1. ^ a b c d A parameter with the same name as this one, but ending with a "p" also exists. This is the value of each individual part that makes up the whole fruit.

Template

{{infobox fruit
|image       = 
|size        = 
|caption     = 
|icon        = 
|juice       = 
|juicep      = 
|value       = 
|valuep      = 
|weight      = 
|weightp     = 
|max_pikmin  = 
|max_pikminp = 
|location    = 
|clash       = 
|tclash      = 
}}