Template:Infobox treasure: Difference between revisions
Jump to navigation
Jump to search
m (Fixed icon size that I accidentally changed in my first edit.) |
mNo edit summary |
||
Line 3: | Line 3: | ||
{{{!}} style = "min-width:100%;" | {{{!}} style = "min-width:100%;" | ||
{{!}} style = "vertical-align: middle; padding-left: 32px;" {{!}} ''{{{treasure_name|{{PAGENAME}}}}} {{#if:{{{fclash|}}}|<br><span style="font-size: 80%;">(treasure)</span>}}'' | {{!}} style = "vertical-align: middle; padding-left: 32px;" {{!}} ''{{{treasure_name|{{PAGENAME}}}}} {{#if:{{{fclash|}}}|<br><span style="font-size: 80%;">(treasure)</span>}}'' | ||
{{!}} style = "width:32px; height:32px;" {{!}} [[File:{{{icon}}}| | {{!}} style = "width:32px; height:32px;" {{!}} [[File:{{{icon}}}|32px|{{#if:{{{custom_icon|}}}|Icon used to represent the treasure on the wiki.|In-game icon.}}|class=notpageimage {{#if:{{{icon2|}}}|switchableicon icon1}}]] {{#if:{{{icon2|}}}|[[File:{{{icon2}}}|40px|{{#if:{{{custom_icon2|}}}|Icon used to represent the treasure on the wiki.|In-game icon.}}|class=notpageimage switchableicon icon2]]}} {{#if:{{{icon3|}}}|[[File:{{{icon3}}}|40px|{{#if:{{{custom_icon3|}}}|Icon used to represent the treasure on the wiki.|In-game icon.}}|class=notpageimage switchableicon icon3]]}} | ||
{{!}}} | ''{{{treasure_name|{{PAGENAME}} }}}'' }} | {{!}}} | ''{{{treasure_name|{{PAGENAME}} }}}'' }} | ||
|- | |- |
Revision as of 12:05, March 24, 2025
Infobox treasure | |
---|---|
Number | |
Series | |
Value | ![]() |
Weight | Unknown |
Maximum carriers | Unknown |
Location | |
Challenge Mode levels | None |
Info
Place this at the top of articles for treasures in Pikmin 2 and Hey! Pikmin. 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).
For treasures in Pikmin 4, use {{infobox p4 treasure}} instead.
Parameters
Parameter | Mandatory | Default | Detailed description |
---|---|---|---|
treasure_name | No | {{PAGENAME}} | If the name of the treasure is different from the title of the page, specify it here. |
image | No | Image for the infobox, extension included. | |
size | No | 160px | Image size. |
caption | No | Caption for the image, if needed. | |
image* | No | Secondary or tertiary image. Replace the asterisk with the number 2 or 3. Useful for enemies with multiple forms. | |
image*title | No | Primary, secondary or tertiary image's title. Replace the asterisk with the number 2 or 3 (or with nothing, for the primary image). | |
icon | No | If the treasure has an icon, specify its image here, extension included. | |
icon2 | No | To enable a switchable icon for the second image, specify it here. | |
icon3 | No | To enable a switchable icon for the third image, specify it here. | |
custom_icon | No | If the icon is custom-made, give this a value like "y". | |
custom_icon2 | No | If the second icon is custom-made, give this a value like "y". | |
custom_icon3 | No | If the third icon is custom-made, give this a value like "y". | |
hoard_number | No | Treasure Hoard number.[1] | |
series | No | Series the treasure is in.[1] | |
value | No | Value in Pokos. | |
sparklium | No | Value in Sparklium. | |
weight | Yes | Treasure's weight. | |
dweight | No | If the treasure's weight is dynamic, give this a value, like "y". | |
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". | |
fclash | No | If this template shares its page with a fruit infobox template, give this a value like "y". |
If a Sparklium value is given, the game is assumed to be Hey! Pikmin, so certain rows will dis/appear accordingly.
- ^ a b c If this has the same value in all versions of the game, use the normal parameter. Otherwise, use the parameters named after it, but with "us", "eu", and "jp" prefixed. For instance: "hoard_number" when it's the same in both, but "ushoard_number", "euhoard_number", and "jphoard_number" for the US, European, and Japanese versions, respectively.
Skeleton
{{infobox treasure |image = |size = |caption = |icon = |hoard_number = |ushoard_number = |euhoard_number = |jphoard_number = |series = |usseries = |euseries = |jpseries = |value = |sparklium = |weight = |max_pikmin = |location = |uslocation = |eulocation = |jplocation = |challenge = |clash = |fclash = }}