Template:Infobox treasure series: Difference between revisions

added manual parameters for image and title. additionally, switchables for multiple versions.
(This is just for Pikmin 2 now, since a Pikmin 4 treasure series infobox has been created.)
(added manual parameters for image and title. additionally, switchables for multiple versions.)
 
Line 1: Line 1:
{| class="infobox"
{| class="infobox"
! colspan="2" class="infoboxTitle"| ''{{PAGENAME}}''
! colspan="2" class="infoboxTitle"| ''{{{series_name|{{PAGENAME}}}}}''
|-
|-
| colspan="2" style="text-align: center;" | <includeonly>[[File:{{PAGENAME}}.jpg|270px]]</includeonly>
| colspan="2" style="text-align: center;" | {{#if:{{{image2|}}}|{{switchable
|{{{imagetitle}}} |[[File:{{{image}}}|{{{size|270px}}}]]
|{{{image2title}}} |[[File:{{{image2}}}|{{{size|270px}}}]]
|{{{image3title|}}} |[[File:{{{image3|}}}|{{{size|270px}}}]]
}} |[[File:{{{image}}}|{{{size|270px}}}]]}}
|-
|-
{{!}} colspan="2" style="text-align:center" {{!}} The [[Hocotate Ship]]'s announcement.
{{!}} colspan="2" style="text-align:center" {{!}} The [[Hocotate Ship]]'s announcement.
Line 17: Line 21:
! Locations
! Locations
| {{{locations}}}
| {{{locations}}}
|}<includeonly>{{#if:{{{noicons|}}}||{{game icons|p2=y}}}} [[Category:{{PAGENAME}}| ]][[Category:Treasure Series]]</includeonly><noinclude>
|}<includeonly>{{#if:{{{noicons|}}}||{{game icons|p2=y}}}} [[Category:{{{series_name|{{PAGENAME}}}}}| ]][[Category:Treasure Series]]</includeonly><noinclude>


{{clear}}
{{clear}}
Line 28: Line 32:
{| class = "wikitable"
{| class = "wikitable"
! Parameter || Mandatory || Default || Detailed description
! Parameter || Mandatory || Default || Detailed description
|-
! series_name
| '''No''' ||  || If the name of the series is different from the title of the page, specify it here.
|-
! image
| '''yes''' ||  || Image for the infobox, extension included.
|-
! size
| '''No''' || 270 || The image's size.
|-
! image*
| '''No''' ||  || Secondary or tertiary image. Replace the asterisk with the number 2 or 3. Useful for series with different names between versions.
|-
! image*title
| '''No''' ||  || Primary, secondary or tertiary image's title. Replace the asterisk with the number 2 or 3 (or with nothing, for the primary image).
|-
|-
! theme
! theme
Line 48: Line 67:
<pre>
<pre>
{{infobox treasure series  
{{infobox treasure series  
|theme     =  
|series_name =
|hoard     =  
|image      =
|treasures =  
|image2      =
|locations =  
|image3      =
|noicons   =  
|imagetitle  =
|image2title =
|image3title =
|theme       =  
|hoard       =  
|treasures   =  
|locations   =  
|noicons     =  
}}
}}
</pre>
</pre>


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