Template:Infobox treasure: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
(so apparently no-one ever noticed (in 5 years or so) that the fields weren't meant to be bold)
(make it nicer, like infobox enemy (and weight/max pikmin shouldn't be optional))
Line 6: Line 6:
! width="30%" style="background: #e6e9ff;" | [[Treasure Hoard]] Number
! width="30%" style="background: #e6e9ff;" | [[Treasure Hoard]] Number
| width="70%" | {{{hoard_number}}}
| width="70%" | {{{hoard_number}}}
{{#if:{{{series|}}}|{{!}}-
|-
! style="background: #e6e9ff;" {{!}} Series
! style="background: #e6e9ff;" | Series
{{!}} width="70%" {{!}} [[{{{series}}}]]|}}
| width="70%" | {{#if:{{{series|}}}|[[{{{series}}}]]|[[{{{ntscseries}}}]] (NTSC)<br />
{{#if:{{{ntscseries|}}}|{{!}}-
[[{{{palseries}}}]] (PAL)}}
! style="background: #e6e9ff;" {{!}} Series
{{!}} width="70%" {{!}} [[{{{ntscseries}}}]] (NTSC) / [[{{{palseries}}}]] (PAL)|}}
|-
|-
! style="background: #e6e9ff;" | Value
! style="background: #e6e9ff;" | Value
| width="70%" | {{{value}}} [[poko]]s
| width="70%" | {{{value}}} [[poko]]s
{{#if:{{{weight|}}}|{{!}}-
|-
! style="background: #e6e9ff;" {{!}} Weight
! style="background: #e6e9ff;" | Weight
{{!}} width="70%" {{!}} {{{weight}}}|}}
| width="70%" | {{{weight}}}
{{#if:{{{max_pikmin|}}}|{{!}}-
|-
! style="background: #e6e9ff;" {{!}} Maximum Carriers
! style="background: #e6e9ff;" | Maximum Carriers
{{!}} width="70%" {{!}} {{{max_pikmin}}} Pikmin|}}
| width="70%" | {{{max_pikmin}}} Pikmin
{{#if:{{{location|}}}|{{!}}-
|-
! style="background: #e6e9ff;" {{!}} Location
! style="background: #e6e9ff;" | Location
{{!}} width="70%" {{!}} [[{{{location}}}]]|}}
| width="70%" | {{#if:{{{location|}}}|[[{{{location}}}]]|[[{{{ntsclocation}}}]] (NTSC)<br />
{{#if:{{{ntsclocation|}}}|{{!}}-
[[{{{pallocation}}}]] (PAL)}}
! style="background: #e6e9ff;" {{!}} Location
|-
{{!}} width="70%" {{!}} [[{{{ntsclocation}}}]] (NTSC) / [[{{{pallocation}}}]] (PAL)|}}
! style="background: #e6e9ff;" | [[Challenge Mode (Pikmin 2)|Challenge Mode]] Location(s)
{{#if:{{{challenge|}}}|{{!}}-
| width="70%" | {{{challenge|None}}}
! style="background: #e6e9ff;" {{!}} [[Challenge Mode (Pikmin 2)|Challenge Mode]] Location(s)
|}<includeonly>[[Category:Treasures|{{PAGENAME}}]] [[Category:{{#if:{{{ntscseries|}}}|{{{ntscseries}}}|{{{series}}}}}|{{PAGENAME}}]] {{#if:{{{palseries|}}}|[[Category:{{{palseries}}}|{{PAGENAME}}]]|}}</includeonly><noinclude>
{{!}} width="70%" {{!}} {{{challenge}}}|}}
|}<includeonly>[[Category:Treasures|{{PAGENAME}}]] [[Category:{{#if:{{{ntscseries|}}}|{{{ntscseries}}}|{{{series}}}}}|{{PAGENAME}}]] {{#if:{{{palseries|}}}|[[Category:{{{palseries}}}|{{PAGENAME}}]]|}}</includeonly> <noinclude>[[Category:Infobox templates|{{PAGENAME}}]]
{{clear}}
{{clear}}
==Use==
==Use==
<pre>{{infobox treasure                            *optional field
<pre>{{infobox treasure                            *optional field
Line 41: Line 38:
*|palseries=series in PAL
*|palseries=series in PAL
|value=value in Pokos
|value=value in Pokos
*|weight=weight
|weight=weight
*|max_pikmin=maximum number of carriers
|max_pikmin=maximum number of carriers
*|location=location                        [Use EITHER 'location' OR
*|location=location                        [Use EITHER 'location' OR
*|ntsclocation=location in NTSC            'ntsclocation' and 'pallocation']
*|ntsclocation=location in NTSC            'ntsclocation' and 'pallocation']
Line 48: Line 45:
*|challenge=Challenge Mode location(s)
*|challenge=Challenge Mode location(s)
}}</pre></noinclude>
}}</pre></noinclude>
[[Category:Infobox templates|{{PAGENAME}}]]

Revision as of 17:20, October 30, 2011

{{{treasure_name}}}
Treasure Hoard Number {{{hoard_number}}}
Series [[{{{ntscseries}}}]] (NTSC)

[[{{{palseries}}}]] (PAL)

Value {{{value}}} pokos
Weight {{{weight}}}
Maximum Carriers {{{max_pikmin}}} Pikmin
Location [[{{{ntsclocation}}}]] (NTSC)

[[{{{pallocation}}}]] (PAL)

Challenge Mode Location(s) None

Use

{{infobox treasure                             *optional field
*|image=image name with extension
*|size=image size
|hoard_number=Treasure Hoard number
*|series=series the treasure's in          [Use EITHER 'series' OR
*|ntscseries=series in NTSC                 'ntscseries' and 'palseries']
*|palseries=series in PAL
|value=value in Pokos
|weight=weight
|max_pikmin=maximum number of carriers
*|location=location                        [Use EITHER 'location' OR
*|ntsclocation=location in NTSC             'ntsclocation' and 'pallocation']
*|pallocation=location in PAL
*|challenge=Challenge Mode location(s)
}}