Template:Infobox treasure: Difference between revisions
Jump to navigation
Jump to search
AeroBlaze777 (talk | contribs) mNo edit summary |
(New documentation style.) |
||
Line 13: | Line 13: | ||
{{!}}- }} | {{!}}- }} | ||
! width="30%" style="background: #e6e9ff;" | [[Treasure Hoard|Number]] | ! width="30%" style="background: #e6e9ff;" | [[Treasure Hoard|Number]] | ||
| width="70%" | {{{hoard_number}}} | | width="70%" | {{#if:{{{hoard_number|}}}|{{{hoard_number}}}|{{{ushoard_number}}} (US)<br> | ||
{{{euhoard_number}}} (Europe)}} | |||
|- | |- | ||
! style="background: #e6e9ff;" | Series | ! style="background: #e6e9ff;" | Series | ||
| width="70%" | {{#if:{{{series|}}}|[[{{{series}}}]]|[[{{{usseries}}}]] (US)<br | | width="70%" | {{#if:{{{series|}}}|[[{{{series}}}]]|[[{{{usseries}}}]] (US)<br> | ||
[[{{{euseries}}}]] (Europe)}} | [[{{{euseries}}}]] (Europe)}} | ||
|- | |- | ||
Line 25: | Line 26: | ||
| width="70%" | {{{weight}}} | | width="70%" | {{{weight}}} | ||
|- | |- | ||
! style="background: #e6e9ff;" | Maximum | ! style="background: #e6e9ff;" | Maximum carriers | ||
| width="70%" | {{#if:{{{max_pikmin|}}}|{{{max_pikmin}}} Pikmin|Unknown}} | | width="70%" | {{#if:{{{max_pikmin|}}}|{{{max_pikmin}}} Pikmin|Unknown}} | ||
|- | |- | ||
! style="background: #e6e9ff;" | Location | ! style="background: #e6e9ff;" | Location | ||
| width="70%" | {{#if:{{{location|}}}|[[{{{location}}}]]|[[{{{uslocation}}}]] (US)<br | | width="70%" | {{#if:{{{location|}}}|[[{{{location}}}]]|[[{{{uslocation}}}]] (US)<br> | ||
[[{{{eulocation}}}]] (Europe)}} | [[{{{eulocation}}}]] (Europe)}} | ||
|- | |- | ||
! style="background: #e6e9ff;" | [[Challenge Mode (Pikmin 2)|Challenge]] | ! style="background: #e6e9ff;" | [[Challenge Mode (Pikmin 2)|Challenge Mode]] levels | ||
| width="70%" | {{{challenge|None}}} | | width="70%" | {{{challenge|None}}} | ||
|}<includeonly>[[Category:Treasures | |}<includeonly>[[Category:Treasures]] [[Category:{{#if:{{{usseries|}}}|{{{usseries}}}|{{{series}}}}}]] {{#if:{{{euseries|}}}|[[Category:{{{euseries}}}]]|}}</includeonly><noinclude> | ||
{{clear}} | {{clear}} | ||
==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 [[:Category:Treasure Series|treasure series category(ies)]]. | |||
==Parameters== | |||
{| class = "wikitable" | |||
! 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.<ref name="region">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.</ref> | |||
|- | |||
! series | |||
| No || || Series the treasure is in.<ref name="region"/> | |||
|- | |||
! value | |||
| '''Yes''' || || Value in Pokos. | |||
|- | |||
! weight | |||
| '''Yes''' || || Treasure's weight. | |||
|- | |||
! max_pikmin | |||
| '''Yes''' || || Maximum number of carriers. | |||
|- | |||
! location | |||
| No || || Location (area or cave).<ref name="region"/> | |||
|- | |||
! challenge | |||
| No || None || Challenge Mode locations, if any. | |||
|- | |||
! clash | |||
| No || || If this template clashes with others on the same page ({{tem|game icons}} or title), give this a value like "y". | |||
|} | |||
<references/> | |||
== | ==Template== | ||
<pre>{{infobox treasure | <pre> | ||
|image = | {{infobox treasure | ||
|size = | |image = | ||
|caption = | |size = | ||
|icon = | |caption = | ||
|hoard_number = | |icon = | ||
|series = | |hoard_number = | ||
|usseries = | |ushoard_number = | ||
|euseries = | |euhoard_number = | ||
|value = | |series = | ||
|weight = | |usseries = | ||
|max_pikmin = | |euseries = | ||
|location = | |value = | ||
|uslocation = | |weight = | ||
|eulocation = | |max_pikmin = | ||
|challenge = | |location = | ||
|clash = | |uslocation = | ||
|eulocation = | |||
|challenge = | |||
|clash = | |||
}} | |||
</pre> | |||
[[Category:Infobox templates | [[Category:Infobox templates]]</noinclude> |
Revision as of 09:54, October 28, 2014
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". |
- ^ 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 = }}