Template:Infobox treasure: Difference between revisions
Jump to navigation
Jump to search
m (Added link for Series) |
(Added links to Weight and Carry, and added parameters for the Japanese version.) |
||
Line 12: | Line 12: | ||
|- | |- | ||
{{#if:{{{sparklium|}}} | | ! style="width: 30%;" {{!}} [[Treasure Hoard|Number]] | {{#if:{{{sparklium|}}} | | ! style="width: 30%;" {{!}} [[Treasure Hoard|Number]] | ||
{{!}} {{#if:{{{hoard_number|}}}|{{{hoard_number}}}|{{{ushoard_number}}} (US)<br>{{{euhoard_number}}} (Europe)}} }} | {{!}} {{#if:{{{hoard_number|}}}|{{{hoard_number}}}|{{{ushoard_number}}} (US)<br>{{{euhoard_number}}} (Europe)<br>{{{jphoard_number}}} (Japan)}} }} | ||
|- | |- | ||
{{#if:{{{sparklium|}}} | | ! [[Series]] | {{#if:{{{sparklium|}}} | | ! [[Series]] | ||
{{!}} {{#if:{{{series|}}}|[[{{{series}}}]]|[[{{{usseries}}}]] (US)<br>[[{{{euseries}}}]] (Europe)}} }} | {{!}} {{#if:{{{series|}}}|[[{{{series}}}]]|[[{{{usseries}}}]] (US)<br>[[{{{euseries}}}]] (Europe) <br>[[{{{jpseries}}}]] (Japan)}} }} | ||
|- | |- | ||
! Value | ! Value | ||
| {{#if:{{{sparklium|}}} | {{Sparklium|{{{sparklium|}}}}} | {{Pokos|{{{value}}}}} }} | | {{#if:{{{sparklium|}}} | {{Sparklium|{{{sparklium|}}}}} | {{Pokos|{{{value}}}}} }} | ||
|- | |- | ||
! Weight | ! [[Weight]] | ||
| {{#if:{{{weight|}}}|{{{weight}}}|Unknown}}{{#if:{{{dweight|}}}| ([[Treasure#Dynamic weights|normally]])}} | | {{#if:{{{weight|}}}|{{{weight}}}|Unknown}}{{#if:{{{dweight|}}}| ([[Treasure#Dynamic weights|normally]])}} | ||
|- | |- | ||
! Maximum carriers | ! Maximum [[Carry|carriers]] | ||
| {{#if:{{{max_pikmin|}}}|{{ifnumber|{{{max_pikmin}}}|{{{max_pikmin}}} Pikmin|{{{max_pikmin}}}}}|Unknown}} | | {{#if:{{{max_pikmin|}}}|{{ifnumber|{{{max_pikmin}}}|{{{max_pikmin}}} Pikmin|{{{max_pikmin}}}}}|Unknown}} | ||
|- | |- | ||
! Location | ! Location | ||
| {{#if:{{{location|}}}|[[{{{location}}}]]|[[{{{uslocation}}}]] (US)<br> | | {{#if:{{{location|}}}|[[{{{location}}}]]|[[{{{uslocation}}}]] (US)<br>[[{{{eulocation}}}]] (Europe)<br>[[{{{jplocation}}}]] (Japan)}} | ||
[[{{{eulocation}}}]] (Europe)}} | |||
|- | |- | ||
{{#if:{{{sparklium|}}} | | ! [[Challenge Mode (Pikmin 2)|Challenge Mode]] levels | {{#if:{{{sparklium|}}} | | ! [[Challenge Mode (Pikmin 2)|Challenge Mode]] levels | ||
Line 56: | Line 55: | ||
|- | |- | ||
! hoard_number | ! hoard_number | ||
| No || || Treasure Hoard number.<ref name="region">If this has the same value in | | No || || Treasure Hoard number.<ref name="region">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.</ref> | ||
|- | |- | ||
! series | ! series | ||
Line 103: | Line 102: | ||
|ushoard_number = | |ushoard_number = | ||
|euhoard_number = | |euhoard_number = | ||
|jphoard_number = | |||
|series = | |series = | ||
|usseries = | |usseries = | ||
|euseries = | |euseries = | ||
|jpseries = | |||
|value = | |value = | ||
|sparklium = | |sparklium = | ||
Line 113: | Line 114: | ||
|uslocation = | |uslocation = | ||
|eulocation = | |eulocation = | ||
|jplocation = | |||
|challenge = | |challenge = | ||
|clash = | |clash = |
Revision as of 18:10, April 16, 2022
Infobox treasure | |
---|---|
Number | {{{ushoard_number}}} (US) {{{euhoard_number}}} (Europe) {{{jphoard_number}}} (Japan) |
Series | [[{{{usseries}}}]] (US) [[{{{euseries}}}]] (Europe) [[{{{jpseries}}}]] (Japan) |
Value | × {{{value}}} |
Weight | Unknown |
Maximum carriers | Unknown |
Location | [[{{{uslocation}}}]] (US) [[{{{eulocation}}}]] (Europe) [[{{{jplocation}}}]] (Japan) |
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 | No | Icon file name, with extension. | |
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 = }}