Template:Infobox fruit: Difference between revisions
Jump to navigation
Jump to search
m (thought we were getting rid of these!) |
(New documentation style.) |
||
Line 28: | Line 28: | ||
|- | |- | ||
|} | |} | ||
<includeonly>[[Category:Fruits | <includeonly>[[Category:Fruits]]</includeonly><noinclude> | ||
{{clear}} | {{clear}} | ||
== | ==Info== | ||
Place this at the top of [[fruit]] articles. This will create an information box with data about the fruit. | |||
[[Category: | Articles with this template are automatically categorized under [[:Category:Fruits]]. | ||
==Parameters== | |||
{| class = "wikitable" | |||
! 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 ({{tem|game icons}} clashing, or title clashing). | |||
|} | |||
==Template== | |||
<pre> | |||
{{infobox fruit | |||
|image = | |||
|size = | |||
|caption = | |||
|icon = | |||
|juice = | |||
|value = | |||
|weight = | |||
|max_pikmin = | |||
|location = | |||
|clash = | |||
}} | |||
</pre> | |||
[[Category:Infobox templates]]</noinclude> |
Revision as of 06:39, October 21, 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 = }}