Pikmin 2 icon.png

Template:Infobox treasure: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
m (Simplifying template.)
(Added Hey! Pikmin.)
Line 11: Line 11:
{{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}} }}
{{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}} }}
|-
|-
! style="width: 30%;" | [[Treasure Hoard|Number]]
{{#if:{{{sparklium|}}} | | ! style="width: 30%;" {{!}} [[Treasure Hoard|Number]]
| {{#if:{{{hoard_number|}}}|{{{hoard_number}}}|{{{ushoard_number}}} (US)<br>
{{!}} {{#if:{{{hoard_number|}}}|{{{hoard_number}}}|{{{ushoard_number}}} (US)<br>{{{euhoard_number}}} (Europe)}} }}
{{{euhoard_number}}} (Europe)}}
|-
|-
! Series
{{#if:{{{sparklium|}}} | | ! Series
| {{#if:{{{series|}}}|[[{{{series}}}]]|[[{{{usseries}}}]] (US)<br>
{{!}} {{#if:{{{series|}}}|[[{{{series}}}]]|[[{{{usseries}}}]] (US)<br>[[{{{euseries}}}]] (Europe)}} }}
[[{{{euseries}}}]] (Europe)}}
|-
|-
! Value
! Value
| {{Pokos|{{{value}}}}}
| {{#if:{{{sparklium|}}} | {{Sparklium|{{{sparklium|}}}}} | {{Pokos|{{{value}}}}} }}
|-
|-
! Weight
! Weight
Line 32: Line 30:
[[{{{eulocation}}}]] (Europe)}}
[[{{{eulocation}}}]] (Europe)}}
|-
|-
! [[Challenge Mode (Pikmin 2)|Challenge Mode]] levels
{{#if:{{{sparklium|}}} | | ! [[Challenge Mode (Pikmin 2)|Challenge Mode]] levels
| {{{challenge|None}}}
{{!}} {{{challenge|None}}} }}
|}<includeonly>[[Category:Treasures]] [[Category:{{#if:{{{usseries|}}}|{{{usseries}}}|{{{series}}}}}]] {{#if:{{{euseries|}}}|[[Category:{{{euseries}}}]]|}}</includeonly><noinclude>
|}<includeonly>[[Category:Treasures]] [[Category:{{#if:{{{usseries|}}}|{{{usseries}}}|{{{series}}}}}]] {{#if:{{{euseries|}}}|[[Category:{{{euseries}}}]]|}}</includeonly><noinclude>


Line 56: Line 54:
|-
|-
! icon
! icon
| '''Yes''' ||  || Treasure Hoard icon, with extension.
| No ||  || Treasure Hoard icon, with extension.
|-
|-
! hoard_number
! hoard_number
Line 65: Line 63:
|-
|-
! value
! value
| '''Yes''' ||  || Value in Pokos.
| No ||  || Value in Pokos.
|-
! sparklium
| No ||  || Value in Sparklium.
|-
|-
! weight
! weight
Line 88: Line 89:
| No ||  || If this template shares its page with a fruit infobox template, give this a value like "y".
| 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 {{hp}}, so certain rows will dis/appear accordingly.


<references/>
<references/>
Line 94: Line 97:
<pre>
<pre>
{{infobox treasure
{{infobox treasure
|image       =  
|image         =  
|size         =  
|size           =  
|caption     =  
|caption       =  
|icon         =  
|icon           =  
|hoard_number =  
|hoard_number   =  
|ushoard_number =  
|ushoard_number =  
|euhoard_number =  
|euhoard_number =  
|series       =  
|series         =  
|usseries     =  
|usseries       =  
|euseries     =  
|euseries       =  
|value       =  
|value         =
|weight       =  
|sparklium      =  
|max_pikmin   =  
|weight         =  
|location     =  
|max_pikmin     =  
|uslocation   =  
|location       =  
|eulocation   =  
|uslocation     =  
|challenge   =  
|eulocation     =  
|clash       =  
|challenge     =  
|fclash       =  
|clash         =  
|fclash         =  
}}
}}
</pre>
</pre>


[[Category:Information boxes]]</noinclude>
[[Category:Information boxes]]</noinclude>

Revision as of 11:10, August 1, 2017

Infobox treasure
Number {{{ushoard_number}}} (US)
{{{euhoard_number}}} (Europe)
Series [[{{{usseries}}}]] (US)
[[{{{euseries}}}]] (Europe)
Value Poko icon.png × {{{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 No Treasure Hoard icon, 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.

  1. ^ 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.

Skeleton

{{infobox treasure
|image          = 
|size           = 
|caption        = 
|icon           = 
|hoard_number   = 
|ushoard_number = 
|euhoard_number = 
|series         = 
|usseries       = 
|euseries       = 
|value          = 
|sparklium      = 
|weight         = 
|max_pikmin     = 
|location       = 
|uslocation     = 
|eulocation     = 
|challenge      = 
|clash          = 
|fclash         = 
}}