Pikmin 2 icon.png

Template:Infobox treasure: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
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 Carriers
! 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]] Location(s)
! style="background: #e6e9ff;" | [[Challenge Mode (Pikmin 2)|Challenge Mode]] levels
| width="70%" | {{{challenge|None}}}
| width="70%" | {{{challenge|None}}}
|}<includeonly>[[Category:Treasures|{{PAGENAME}}]] [[Category:{{#if:{{{usseries|}}}|{{{usseries}}}|{{{series}}}}}|{{PAGENAME}}]] {{#if:{{{euseries|}}}|[[Category:{{{euseries}}}|{{PAGENAME}}]]|}}</includeonly><noinclude>
|}<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/>


==Use==
==Template==
<pre>{{infobox treasure
<pre>
|image        = image name with extension
{{infobox treasure
|size        = image size (optional)
|image        =  
|caption      = image caption (optional)
|size        =  
|icon        = Treasure Hoard icon
|caption      =  
|hoard_number = Treasure Hoard number
|icon        =  
|series      = series the treasure's in (use if same in all regions)
|hoard_number =  
|usseries    = series in the US exclusively
|ushoard_number =
|euseries    = series in Europe exclusively
|euhoard_number =
|value        = value in Pokos
|series      =  
|weight      = weight
|usseries    =  
|max_pikmin  = maximum number of carriers
|euseries    =  
|location    = location in the game (use if same in all regions)
|value        =  
|uslocation  = location in the US exclusively
|weight      =  
|eulocation  = location in Europe exclusively
|max_pikmin  =  
|challenge    = Challenge Mode location(s) (omit if none)
|location    =  
|clash        = whether to avoid conflicts with other templates ({{game_icons}} usage, title)
|uslocation  =  
}}</pre>
|eulocation  =  
|challenge    =  
|clash        =  
}}
</pre>


[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
[[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 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 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".
  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.

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        = 
}}