Template:Infobox fruit: Difference between revisions
Jump to navigation
Jump to search
AeroBlaze777 (talk | contribs) mNo edit summary |
(Style.) |
||
Line 1: | Line 1: | ||
{{#if:{{{clash|}}}||{{game icons|pikmin3=y}}}} | {{#if:{{{clash|}}}||{{game icons|pikmin3=y}}}} | ||
{| class="infobox | {| class="infobox" | ||
! colspan="2" | ! colspan="2" class="infoboxTitle" | {{#if:{{{icon|}}} | | ||
{{#if:{{{icon|}}} | | |||
{{{!}} style = "width:100%;" | {{{!}} style = "width:100%;" | ||
{{!}} style = "vertical-align: middle; padding-left: 32px;" {{!}} ''{{{fruit_name|{{PAGENAME}}}}} {{#if:{{{clash|}}}|(fruit)}}'' | {{!}} style = "vertical-align: middle; padding-left: 32px;" {{!}} ''{{{fruit_name|{{PAGENAME}}}}} {{#if:{{{clash|}}}|(fruit)}}'' | ||
Line 8: | Line 7: | ||
{{!}}} | ''{{{fruit_name|{{PAGENAME}} }}}'' }} | {{!}}} | ''{{{fruit_name|{{PAGENAME}} }}}'' }} | ||
|- | |- | ||
| colspan="2" style="text-align: center;" | {{#if:{{{image|}}}|[[Image:{{{image}}}{{!}}{{{size|160px}}}]]}} | |||
|- | |- | ||
{{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}} | {{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}} | ||
{{!}}- }} | {{!}}- }} | ||
! | ! style="width: 30%;" | Juice Amount | ||
| {{{juice}}} | |||
|- | |- | ||
! | ! Mission Mode Value | ||
| {{Pokos|{{{value}}}}} | |||
|- | |- | ||
! | ! Weight | ||
| {{{weight}}} | |||
|- | |- | ||
! | ! Max Carriers | ||
| {{{max_pikmin}}} | |||
|- | |- | ||
! | ! Location(s) | ||
| {{{location}}} | |||
|- | |- | ||
|} | |} |
Revision as of 12:14, November 11, 2014
Infobox fruit | |
---|---|
Juice Amount | {{{juice}}} |
Mission Mode Value | × {{{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). |
Template
{{infobox fruit |image = |size = |caption = |icon = |juice = |value = |weight = |max_pikmin = |location = |clash = }}