Template:Infobox p4 treasure: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
No edit summary
(Made the series optional.)
Line 11: Line 11:
|-
|-
! [[Series]]
! [[Series]]
| [[{{{series}}}]]
| {{#ifeq:{{{series|}}}|Unknown|Unknown|[[{{{series}}}]]}}
|-
|-
! Value
! Value
Line 27: Line 27:
! Total amount
! Total amount
| {{{amount}}}
| {{{amount}}}
|}<includeonly>{{#if:{{{clash|}}}||{{game icons|pikmin4=y}}}} [[Category:Pikmin 4 treasures]] [[Category:{{{series}}}]]</includeonly><noinclude>
|}<includeonly>{{#if:{{{clash|}}}||{{game icons|pikmin4=y}}}} [[Category:Pikmin 4 treasures]] {{#ifeq:{{{series|}}}|Unknown||[[Category:{{{series}}}]]}}</includeonly><noinclude>


{{clear}}
{{clear}}

Revision as of 15:14, July 1, 2023

Infobox p4 treasure
Series [[{{{series}}}]]
Value Sparklium
Weight {{{weight}}}
Maximum carriers {{{max_pikmin}}}
Location {{{location}}}
Total amount {{{amount}}}

Info

Place this at the top of Pikmin 4 treasure articles. This creates an information box with data about the treasure.

Articles with this template are automatically categorized under Category:Pikmin 4 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.
series Yes Series the treasure is in.
sparklium Yes Sparklium value.
weight Yes Treasure's weight.
max_pikmin Yes Maximum number of carriers.
location Yes Locations (areas and/or caves).
amount Yes Total amount, as written in the Treasure Catalog.
clash No If this template clashes with others on the same page ({{game icons}} or title), give this a value like "y".

Skeleton

{{infobox treasure
|image          = 
|size           = 
|caption        = 
|icon           = 
|series         = 
|sparklium      = 
|weight         = 
|max_pikmin     = 
|location       = 
|amount         = 
|clash          = 
|fclash         = 
}}