Template:Infobox track: Difference between revisions

Add European mix support.
(I knew this'd come back and bite me in the ass.)
(Add European mix support.)
 
(18 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<div>{{#if:{{{header|}}}|;''<span id="{{{name}}}">{{{name}}}</span>''}}</div>
{| 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.}}}}''
|-
|-
! style="width:30%;" | External link
{{#if:{{{jpname|}}}|! {{tt|Japanese|This song has an official title in Japanese.}}
| {{#if:{{{linko|}}} | [{{{linko}}} Olimar's version]<br>[{{{linkl}}} Olimar's partner's version] {{#if:{{{linkos|}}}|<br>[{{{linkos}}} Olimar's sunset version]}} {{#if:{{{linkls|}}}|<br>[{{{linkls}}} Olimar's partner's sunset version]}} | {{#if:{{{link|}}}|[{{{link}}} Link] | }} }}
{{!}} {{{jpname}}} }}
|-
|-
! Internal name
{{#if:{{{composer|}}}|! Composer
|{{#if:{{{internal|}}}|<code>{{{internal}}}</code>|Unknown}}
{{!}} {{{composer}}} }}
{{#if:{{{caves|}}}|{{!}}-
|-
! [[Cave]]s
{{#if:{{{internal|}}}|! Internal name
{{!}} <code>{{{internal}}}</code> }}
|-
{{#if:{{{caves|}}}|! [[Cave]]s
{{!}} {{{caves}}} }}
{{!}} {{{caves}}} }}
{{#if:{{{challenge|}}}|{{!}}-
|-
! [[Challenge Mode (Pikmin 2)|Challenge Mode]] levels
{{#if:{{{challenge|}}}|! [[Challenge Mode (Pikmin 2)|Challenge Mode]] levels
{{!}} {{{challenge}}} }}
{{!}} {{{challenge}}} }}
|-
! style="width:30%;" | External links
|
{{#if:{{{link|}}} |*[{{{link}}} Link]}}{{#if:{{{linko|}}}|
*[{{{linko}}} Olimar's version]}}{{#if:{{{linkl|}}}|
*[{{{linkl}}} Olimar's partner's version]}}{{#if:{{{linkos|}}}|
*[{{{linkos}}} Olimar's sunset version]}}{{#if:{{{linkls|}}}|
*[{{{linkls}}} Partner's sunset version]}}{{#if:{{{linka|}}}|
*[{{{linka}}} Afternoon version]}}{{#if:{{{links|}}}|
*[{{{links}}} Sunset version]}}{{#if:{{{linkp|}}}|
*[{{{linkp}}} Precipitation version]}}{{#if:{{{linkd|}}}|
*[{{{linkd}}} Drum version]}}{{#if:{{{linke|}}}|
*[{{{linke}}} European version]}}
|-
{{#if:{{{altname|}}}|! Alternate name
{{!}} ''{{tt|{{{altname}}}|This title is unofficial, but popular among the fanbase.}}'' }}
|-
|}<noinclude>
|}<noinclude>


{{clear}}
==Info==
==Info==
Use this template to provide info on a track from one of the games.
Use this template to provide info on a track from one of the games.
Line 26: Line 48:
|-
|-
! official
! official
| No ||  || Give this a value, like "y", to indicate that the song's title is official.
| No ||  || Give this a value, like "y", to indicate that the song's title is official. Otherwise, it's assumed to be conjectural.
|-
! header
| 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]].
|-
! jpname
| 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 43: Line 83:
| No ||  || Link to a YouTube video or other source with Olimar's partner's sunset version of the track, if applicable.
| No ||  || Link to a YouTube video or other source with Olimar's partner's sunset version of the track, if applicable.
|-
|-
! internal
! linka
| 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 afternoon version of the track, if applicable.
|-
! links
| No ||  || Link to a YouTube video or other source with the sunset version of the track, if applicable.
|-
! linkp
| No ||  || Link to a YouTube video or other source with the precipitation (rain or snow) version of the track, if applicable.
|-
! linkd
| No ||  || Link to a YouTube video or other source with the drums version of the track (''Pikmin Adventure''), if applicable.
|-
! linke
| 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).
|}
|}


Line 58: Line 108:
|name      =  
|name      =  
|official  =  
|official  =  
|header    =
|jpname  =
|composer  =
|internal  =
|caves    =
|challenge =
|link      =  
|link      =  
|linko    =  
|linko    =  
Line 63: Line 119:
|linkos    =  
|linkos    =  
|linkls    =  
|linkls    =  
|internal  =  
|linka    =
|caves     =  
|links    =
|challenge =  
|linkp    =
|linkd    =  
|linke     =  
|altname  =  
}}
}}
</pre>
</pre>


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