Pikmin 3

Template:Infobox fruit: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
mNo edit summary
(Added clash for treasure infoboxes.)
Line 3: Line 3:
! colspan="2" class="infoboxTitle" | {{#if:{{{icon|}}} |
! colspan="2" class="infoboxTitle" | {{#if:{{{icon|}}} |
  {{{!}} style = "width:100%;"
  {{{!}} style = "width:100%;"
  {{!}} style = "vertical-align: middle; padding-left: 32px;" {{!}} ''{{{fruit_name|{{PAGENAME}}}}} {{#if:{{{clash|}}}|<br><span style="font-size: 80%;">(fruit)</span>}}''
  {{!}} style = "vertical-align: middle; padding-left: 32px;" {{!}} ''{{{fruit_name|{{PAGENAME}}}}} {{#if:{{{tclash|}}}|<br><span style="font-size: 80%;">(fruit)</span>}}''
  {{!}} style = "width: 32px;" {{!}} [[File:{{{icon}}}|Fruit File icon.]]
  {{!}} style = "width: 32px;" {{!}} [[File:{{{icon}}}|Fruit File icon.]]
  {{!}}} | ''{{{fruit_name|{{PAGENAME}} }}}'' }}
  {{!}}} | ''{{{fruit_name|{{PAGENAME}} }}}'' }}
Line 68: Line 68:
! clash
! clash
| No ||  || If this has a value, like "y", it avoids conflicts with other templates ({{tem|game icons}} clashing, or title clashing).
| No ||  || If this has a value, like "y", it avoids conflicts with other templates ({{tem|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".
|}
|}



Revision as of 06:28, January 28, 2015

Infobox fruit
Juice Amount {{{juice}}}
Mission Mode Value Poko × {{{value}}}
Weight {{{weight}}}
Max Carriers {{{max_pikmin}}}
Location(s) {{{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 Yes Amount of juice the fruit provides.
value Yes Mission Mode value.
weight Yes Weight.
max_pikmin Yes Maximum number of carrier Pikmin.
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".

Template

{{infobox fruit
|image      = 
|size       = 
|caption    = 
|icon       = 
|juice      = 
|value      = 
|weight     = 
|max_pikmin = 
|location   = 
|clash      = 
}}