Template:Infobox p4 treasure: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
(Created page with "{| class="infobox" ! colspan="2" class="infoboxTitle" | {{#if:{{{icon|}}} | {{!}} style = "width:100%;" {{!}} style = "vertical-align: middle; padding-left: 32px;" {{!}} ''{{{treasure_name|{{PAGENAME}}}}}<br><span style="font-size: 80%;">''Pikmin 4'' treasure</span>'' {{!}} style = "width: 32px;" {{!}} [[File:{{{icon}}}|Treasure Catalog icon.}}]] {{!}}} | ''{{{treasure_name|{{PAGENAME}} }}}'' }} |- | colspan="2" style="text-align: center;" | {{#if:{{{image|}}}|...")
 
(Corrections.)
Line 4: Line 4:
  {{!}} style = "vertical-align: middle; padding-left: 32px;" {{!}} ''{{{treasure_name|{{PAGENAME}}}}}<br><span style="font-size: 80%;">''Pikmin 4'' [[treasure]]</span>''
  {{!}} style = "vertical-align: middle; padding-left: 32px;" {{!}} ''{{{treasure_name|{{PAGENAME}}}}}<br><span style="font-size: 80%;">''Pikmin 4'' [[treasure]]</span>''
  {{!}} style = "width: 32px;" {{!}} [[File:{{{icon}}}|Treasure Catalog icon.}}]]
  {{!}} style = "width: 32px;" {{!}} [[File:{{{icon}}}|Treasure Catalog icon.}}]]
  {{!}}} | ''{{{treasure_name|{{PAGENAME}} }}}'' }}
  {{!}}} | ''{{{treasure_name|{{PAGENAME}}}}}'' }}
|-
|-
| colspan="2" style="text-align: center;" | {{#if:{{{image|}}}|[[File:{{{image}}}{{!}}{{{size|160px}}}]]}}
| colspan="2" style="text-align: center;" | {{#if:{{{image|}}}|[[File:{{{image}}}{{!}}{{{size|160px}}}]]}}
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]] [[Category:{{{series}}}]]</includeonly><noinclude>


{{clear}}
{{clear}}
Line 66: Line 66:
| '''Yes''' ||  || Locations (areas and/or caves).
| '''Yes''' ||  || Locations (areas and/or caves).
|-
|-
! total
! amount
| '''Yes''' ||  || Total amount, as written in the [[Treasure Catalog]].
| '''Yes''' ||  || Total amount, as written in the [[Treasure Catalog]].
|-
|-
Line 85: Line 85:
|max_pikmin    =  
|max_pikmin    =  
|location      =  
|location      =  
|total          =  
|amount        =  
|clash          =  
|clash          =  
|fclash        =  
|fclash        =  

Revision as of 15:01, July 1, 2023

Infobox p4 treasure
Series [[{{{series}}}]]
Value
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         = 
}}