Template:Infobox treasure: Difference between revisions
Jump to navigation
Jump to search
m (I think saying it's a treasure is better in a new line.) |
(Added clash for fruit 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;" {{!}} ''{{{treasure_name|{{PAGENAME}}}}} {{#if:{{{ | {{!}} style = "vertical-align: middle; padding-left: 32px;" {{!}} ''{{{treasure_name|{{PAGENAME}}}}} {{#if:{{{fclash|}}}|<br><span style="font-size: 80%;">(treasure)</span>}}'' | ||
{{!}} style = "width: 32px;" {{!}} [[File:{{{icon}}}|Treasure Hoard icon.]] | {{!}} style = "width: 32px;" {{!}} [[File:{{{icon}}}|Treasure Hoard icon.]] | ||
{{!}}} | ''{{{treasure_name|{{PAGENAME}} }}}'' }} | {{!}}} | ''{{{treasure_name|{{PAGENAME}} }}}'' }} | ||
Line 81: | Line 81: | ||
! clash | ! clash | ||
| No || || If this template clashes with others on the same page ({{tem|game icons}} or title), give this a value like "y". | | No || || If this template clashes with others on the same page ({{tem|game icons}} or title), give this a value like "y". | ||
|- | |||
! flcash | |||
| No || || If this template shares its page with a fruit infobox template, give this a value like "y". | |||
|} | |} | ||
Line 106: | Line 109: | ||
|challenge = | |challenge = | ||
|clash = | |clash = | ||
|fclash = | |||
}} | }} | ||
</pre> | </pre> | ||
[[Category:Infobox templates]]</noinclude> | [[Category:Infobox templates]]</noinclude> |
Revision as of 06:26, January 28, 2015
Infobox treasure | |
---|---|
Number | {{{ushoard_number}}} (US) {{{euhoard_number}}} (Europe) |
Series | [[{{{usseries}}}]] (US) [[{{{euseries}}}]] (Europe) |
Value | × {{{value}}} |
Weight | {{{weight}}} |
Maximum carriers | Unknown |
Location | [[{{{uslocation}}}]] (US) [[{{{eulocation}}}]] (Europe) |
Challenge Mode levels | None |
Info
Place this at the top of treasure articles. This creates an information box with data about the treasure.
Articles with this template are automatically categorized under Category:Treasures, and the corresponding treasure series category(ies).
Parameters
Parameter | Mandatory | Default | Detailed description |
---|---|---|---|
image | No | Image name, with extension. | |
size | No | 160px | Image size. |
caption | No | Caption for the image, if needed. | |
icon | Yes | Treasure Hoard icon, with extension. | |
hoard_number | No | Treasure Hoard number.[1] | |
series | No | Series the treasure is in.[1] | |
value | Yes | Value in Pokos. | |
weight | Yes | Treasure's weight. | |
max_pikmin | Yes | Maximum number of carriers. | |
location | No | Location (area or cave).[1] | |
challenge | No | None | Challenge Mode locations, if any. |
clash | No | If this template clashes with others on the same page ({{game icons}} or title), give this a value like "y". | |
flcash | No | If this template shares its page with a fruit infobox template, give this a value like "y". |
- ^ a b c If this has the same value in the US and Europe versions of the game, use the normal parameter. Otherwise, use the parameters named after it, but with "us" and "eu" prefixed. For instance: "hoard_number" when it's the same in both, but "ushoard_number" and "euhoard_number" for the US and European versions, respectively.
Template
{{infobox treasure |image = |size = |caption = |icon = |hoard_number = |ushoard_number = |euhoard_number = |series = |usseries = |euseries = |value = |weight = |max_pikmin = |location = |uslocation = |eulocation = |challenge = |clash = |fclash = }}