Template:Infobox treasure series: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
m (Text replacement - "]] </noinclude>" to "]]</noinclude>")
(added manual parameters for image and title. additionally, switchables for multiple versions.)
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{#if:{{{noicons|}}}||{{game icons|pikmin2=y}}}}
{| class="infobox"
{| class="infobox"
! colspan="2" class="infoboxTitle" | ''{{{series_name}}}''
! colspan="2" class="infoboxTitle"| ''{{{series_name|{{PAGENAME}}}}}''
|-
| 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.
|-
|-
! style="width: 30%;" | Theme
! style="width: 30%;" | Theme
Line 14: Line 21:
! Locations
! Locations
| {{{locations}}}
| {{{locations}}}
|}<includeonly>[[Category:{{{series_name}}}| ]][[Category:Treasure Series]]</includeonly><noinclude>
|}<includeonly>{{#if:{{{noicons|}}}||{{game icons|p2=y}}}} [[Category:{{{series_name|{{PAGENAME}}}}}| ]][[Category:Treasure Series]]</includeonly><noinclude>


{{clear}}
{{clear}}
==Info==
==Info==
Place this at the top of treasure series articles. This creates an information box with data about the series.
Place this at the top of ''Pikmin 2'' treasure series articles. This creates an information box with data about the series.


Articles with this template are automatically categorized under [[:Category:Treasure Series]], as well as the first article on the corresponding series' category.
Articles with this template are automatically categorized under [[:Category:Treasure Series]], as well as the first article on the corresponding series' category.
Line 27: Line 34:
|-
|-
! series_name
! series_name
| '''Yes''' ||  || Name of the series.
| '''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 47: Line 66:
==Skeleton==
==Skeleton==
<pre>
<pre>
{{infobox treasure series
{{infobox treasure series  
|series_name =  
|series_name =
|image      =
|image2      =
|image3      =
|imagetitle  =
|image2title =
|image3title =
|theme      =  
|theme      =  
|hoard      =  
|hoard      =  

Latest revision as of 19:01, November 11, 2024

Infobox treasure series
[[File:{{{image}}}|270px]]
The Hocotate Ship's announcement.
Theme {{{theme}}}
Treasure Hoard numbers {{{numbers}}}
Treasures {{{treasures}}}
Locations {{{locations}}}

Info

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

Articles with this template are automatically categorized under Category:Treasure Series, as well as the first article on the corresponding series' category.

Parameters

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 Yes The theme of the objects in the series.
hoard Yes Treasure Hoard number span (e.g.: 123 - 145).
treasures Yes List of treasures.
locations Yes Locations (areas and caves) these treasures are found on. All regions included.
noicons No If this has a value, like "y", disables auto {{game icons}} (to avoid conflicts with other templates).

Skeleton

{{infobox treasure series 
|series_name =
|image       =
|image2      =
|image3      =
|imagetitle  =
|image2title =
|image3title =
|theme       = 
|hoard       = 
|treasures   = 
|locations   = 
|noicons     = 
}}