Template:Infobox fruit: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Added a fruit disambig for cases with no icon.) |
||
Line 5: | Line 5: | ||
{{!}} style = "vertical-align: middle; padding-left: 32px;" {{!}} ''{{{fruit_name|{{PAGENAME}}}}} {{#if:{{{tclash|}}}|<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}} }}} {{#if:{{{tclash|}}}|<br><span style="font-size: 80%;">(fruit)</span>}}'' }} | ||
|- | |- | ||
| colspan="2" style="text-align: center;" | {{#if:{{{image|}}}|[[Image:{{{image}}}{{!}}{{{size|160px}}}]]}} | | colspan="2" style="text-align: center;" | {{#if:{{{image|}}}|[[Image:{{{image}}}{{!}}{{{size|160px}}}]]}} |
Revision as of 07:46, February 24, 2015
Infobox fruit | |
---|---|
Juice amount | {{{juice}}} |
Mission Mode value | × {{{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". |
Template
{{infobox fruit |image = |size = |caption = |icon = |juice = |juicep = |value = |valuep = |weight = |weightp = |max_pikmin = |max_pikminp = |location = |clash = |tclash = }}