Template:Infobox fruit: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
En Passant (talk | contribs) (Set Value to be optional and Mission Mode/Bingo Battle to default to "None", since not every fruit appears in these modes.) |
||
Line 19: | Line 19: | ||
{{!}}}| {{{juice}}} }} | {{!}}}| {{{juice}}} }} | ||
|- | |- | ||
| {{#if:{{{valuep|}}}| | | {{#if:{{{valuep|}}}| | ||
{{{!}} | {{{!}} | ||
Line 25: | Line 24: | ||
{{!}}- | {{!}}- | ||
{{!}}Each part:{{!!}}{{pokos|{{{valuep}}}}} | {{!}}Each part:{{!!}}{{pokos|{{{valuep}}}}} | ||
{{!}}}| {{pokos|{{{value}}}}} }} | {{!}}}| {{#if:{{{value|}}}|! [[Mission Mode]] value: {{pokos|{{{value}}}}} }} }} | ||
|- | |- | ||
! [[Carrying|Weight]] | ! [[Carrying|Weight]] | ||
Line 47: | Line 46: | ||
|- | |- | ||
! [[Mission Mode#Collect treasure!|Mission Mode]] locations | ! [[Mission Mode#Collect treasure!|Mission Mode]] locations | ||
| {{{mission}}} | | {{{mission|None}}} | ||
|- | |- | ||
! [[Bingo Battle]] locations | ! [[Bingo Battle]] locations | ||
| {{{bingo}}} | | {{{bingo|None}}} | ||
|- | |- | ||
|} | |} | ||
Line 81: | Line 80: | ||
|- | |- | ||
! value<ref name="part"/> | ! value<ref name="part"/> | ||
| | | No || || Mission Mode value for the whole fruit. | ||
|- | |- | ||
! weight<ref name="part"/> | ! weight<ref name="part"/> | ||
Line 93: | Line 92: | ||
|- | |- | ||
! mission | ! mission | ||
| | | No || None || Mission Mode stages it can be found on. No fruits ever appear in Battle enemies!, so just link to the Collect treasure! section if it exists. | ||
|- | |- | ||
! bingo | ! bingo | ||
| | | No || None || Bingo Battle stages it can be found on. | ||
|- | |- | ||
! clash | ! clash |
Revision as of 01:59, August 4, 2015
Infobox fruit | |
---|---|
Juice amount | {{{juice}}} |
Weight | {{{weight}}} |
Max carriers | {{{max_pikmin}}} |
Locations | {{{location}}} |
Mission Mode locations | None |
Bingo Battle locations | None |
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] | No | 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. | |
mission | No | None | Mission Mode stages it can be found on. No fruits ever appear in Battle enemies!, so just link to the Collect treasure! section if it exists. |
bingo | No | None | Bingo Battle stages it can be found on. |
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". |
Skeleton
{{infobox fruit |image = |size = |caption = |icon = |juice = |juicep = |value = |valuep = |weight = |weightp = |max_pikmin = |max_pikminp = |location = |mission = |bingo = |clash = |tclash = }}