Template:Infobox track: Difference between revisions

Add European mix support.
(Internal names should always use <code></code>)
(Add European mix support.)
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
{| class="infobox"
{| class="infobox"
! colspan="2" class="infoboxTitle" | ''{{#if:{{{official|}}}|{{{name}}}|{{tt|{{{name}}}|This title is conjectural.}}}}''
! colspan="2" class="infoboxTitle" | ''{{#if:{{{official|}}}|{{{name}}}|{{tt|{{{name}}}|This title is conjectural.}}}}''
|-
{{#if:{{{jpname|}}}|! {{tt|Japanese|This song has an official title in Japanese.}}
{{!}} {{{jpname}}} }}
|-
{{#if:{{{composer|}}}|! Composer
{{!}} {{{composer}}} }}
|-
{{#if:{{{internal|}}}|! Internal name
{{!}} <code>{{{internal}}}</code> }}
|-
{{#if:{{{caves|}}}|! [[Cave]]s
{{!}} {{{caves}}} }}
|-
{{#if:{{{challenge|}}}|! [[Challenge Mode (Pikmin 2)|Challenge Mode]] levels
{{!}} {{{challenge}}} }}
|-
|-
! style="width:30%;" | External links
! style="width:30%;" | External links
Line 13: Line 28:
*[{{{links}}} Sunset version]}}{{#if:{{{linkp|}}}|
*[{{{links}}} Sunset version]}}{{#if:{{{linkp|}}}|
*[{{{linkp}}} Precipitation version]}}{{#if:{{{linkd|}}}|
*[{{{linkp}}} Precipitation version]}}{{#if:{{{linkd|}}}|
*[{{{linkd}}} Drum version]}}
*[{{{linkd}}} Drum version]}}{{#if:{{{linke|}}}|
|-
*[{{{linke}}} European version]}}
{{#if:{{{composer|}}}|! Composer
{{!}} {{{composer}}} }}
|-
{{#if:{{{internal|}}}|! Internal name
{{!}} <code>{{{internal}}}</code> }}
|-
|-
{{#if:{{{altname|}}}|! Alternate name
{{#if:{{{altname|}}}|! Alternate name
{{!}} ''{{tt|{{{altname}}}|This title is unofficial, but popular among the fanbase.}}'' }}
{{!}} ''{{tt|{{{altname}}}|This title is unofficial, but popular among the fanbase.}}'' }}
|-
{{#if:{{{caves|}}}|! [[Cave]]s
{{!}} {{{caves}}} }}
|-
{{#if:{{{challenge|}}}|! [[Challenge Mode (Pikmin 2)|Challenge Mode]] levels
{{!}} {{{challenge}}} }}
|-
|-
|}<noinclude>
|}<noinclude>
Line 49: Line 53:
| No ||  || Give this a value, like "y", to automatically add a (non-section) header to the paragraph where the infobox will be, and have it be an [[wikipedia:Fragment identifier|anchor]].
| No ||  || Give this a value, like "y", to automatically add a (non-section) header to the paragraph where the infobox will be, and have it be an [[wikipedia:Fragment identifier|anchor]].
|-
|-
! altname
! jpname
| No ||  || Alternate unofficial name of the track.
| No ||  || If the song has an official title, but only in Japanese, list it here.
|-
! composer
| No ||  || Specific composers of the track, if known.
|-
! internal
| No ||  || Internal name of the track, used in the game's files, if known.
|-
! caves
| No ||  || Caves and sublevels it appears in.
|-
! challenge
| No ||  || Challenge Mode levels and sublevels it appears in (''Pikmin 2'' only).
|-
|-
! link
! link
Line 79: Line 95:
| No ||  || Link to a YouTube video or other source with the drums version of the track (''Pikmin Adventure''), if applicable.
| No ||  || Link to a YouTube video or other source with the drums version of the track (''Pikmin Adventure''), if applicable.
|-
|-
! internal
! linke
| No ||  || Internal name of the track, used in the game's files, if known.
| No ||  || Link to a YouTube video or other source with the European version of the track, if it is different.
|-
|-
! caves
! altname
| No ||  || Caves and sublevels it appears in.
| No ||  || If the song frequently goes by unofficial name, list the popular names here.
|-
! challenge
| No ||  || Challenge Mode levels and sublevels it appears in (''Pikmin 2'' only).
|-
! composer
| No ||  || Specific composers of the track, if known.
|-
|-
|}
|}
Line 99: Line 109:
|official  =  
|official  =  
|header    =  
|header    =  
|altname   =  
|jpname   =
|composer  =
|internal  =
|caves    =
|challenge =  
|link      =  
|link      =  
|linko    =  
|linko    =  
Line 109: Line 123:
|linkp    =  
|linkp    =  
|linkd    =  
|linkd    =  
|internal  =
|linke     =  
|caves     =  
|altname  =  
|challenge =
|composer  =  
}}
}}
</pre>
</pre>


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