Template:InfoTrack: Difference between revisions

From the Kingdom Hearts Wiki, the Kingdom Hearts encyclopedia
Jump to navigationJump to search
m (Text replacement - "} <noinclude>" to "}<noinclude>")
(Changed "Artist" to "Arranger", added "Orcestrator" parameter, reformatted documentation into table)
 
(29 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{|class="infobox" style="background:#282828; color:#FFFFFF; border-color:#282828" width="360px"
<includeonly>{|class="infobox" width="360px" style="border:2px {{style|{{{game|series}}}|c}}"
! colspan="2" align="center;" style="background:#2F5190; padding:10px; border-top-left-radius: 0.5em; border-top-right-radius: 0.5em;" | <big>'''{{{tracktitle}}}'''</big>
|-
|-
{{#if: {{{game|}}} |
! colspan="2" style="{{style|{{{game|series}}}|a}}; border-top-left-radius: 0.5em; border-top-right-radius: 0.5em;" | <small>''{{#switch: {{{game|}}}
{{!}} colspan="2" width=100% align="center" style="background:#25506B; padding:3px;" {{!}}'''''{{#switch: {{{game|}}}
|KH=Kingdom Hearts [[Category:Music in Kingdom Hearts]]
|KH=Kingdom Hearts [[Category:Music in Kingdom Hearts]]
|KHFM=Kingdom Hearts Final Mix [[Category:Music in Kingdom Hearts Final Mix]]
|KHFM=Kingdom Hearts Final Mix [[Category:Music in Kingdom Hearts Final Mix]]
|KHCOM=Kingdom Hearts: Chain of Memories [[Category:Music in Kingdom Hearts: Chain of Memories]]
|KHCOM=Kingdom Hearts Chain of Memories [[Category:Music in Kingdom Hearts Chain of Memories]]
|KHRECOM=Kingdom Hearts Re:Chain of Memories [[Category:Music in Kingdom Hearts Re:Chain of Memories]]
|KHRECOM=Kingdom Hearts Re:Chain of Memories [[Category:Music in Kingdom Hearts Re:Chain of Memories]]
|KHII=Kingdom Hearts II [[Category:Music in Kingdom Hearts II]]
|KHII=Kingdom Hearts II [[Category:Music in Kingdom Hearts II]]
Line 13: Line 11:
|KHBBS=Kingdom Hearts Birth by Sleep [[Category:Music in Kingdom Hearts Birth by Sleep]]
|KHBBS=Kingdom Hearts Birth by Sleep [[Category:Music in Kingdom Hearts Birth by Sleep]]
|KHBBSFM=Kingdom Hearts Birth by Sleep Final Mix [[Category:Music in Kingdom Hearts Birth by Sleep Final Mix]]
|KHBBSFM=Kingdom Hearts Birth by Sleep Final Mix [[Category:Music in Kingdom Hearts Birth by Sleep Final Mix]]
|KHC=Kingdom Hearts coded [[Category:Music in Kingdom Hearts coded]]
|KHREC=Kingdom Hearts Re:coded [[Category:Music in Kingdom Hearts Re:coded]]
|KHREC=Kingdom Hearts Re:coded [[Category:Music in Kingdom Hearts Re:coded]]
|KH3D=Kingdom Hearts 3D: Dream Drop Distance [[Category:Music in Kingdom Hearts 3D: Dream Drop Distance]]
|KH3D=Kingdom Hearts 3D: Dream Drop Distance [[Category:Music in Kingdom Hearts 3D: Dream Drop Distance]]
|KHX=Kingdom Hearts χ [[Category:Music in Kingdom Hearts χ]]
|KHX=Kingdom Hearts χ[chi] [[Category:Music in Kingdom Hearts χ]]
|KHUX=Kingdom Hearts Union χ[Cross] [[Category:Music in Kingdom Hearts Union χ]]
|KHHD=Kingdom Hearts HD 1.5 ReMIX [[Category:Music in Kingdom Hearts HD 1.5 ReMIX]]
|KHHD=Kingdom Hearts HD 1.5 ReMIX [[Category:Music in Kingdom Hearts HD 1.5 ReMIX]]
|KHIIHD=Kingdom Hearts HD 2.5 ReMIX [[Category:Music in Kingdom Hearts HD 2.5 ReMIX]]
|KHIIHD=Kingdom Hearts HD 2.5 ReMIX [[Category:Music in Kingdom Hearts HD 2.5 ReMIX]]
|KHHD2.8=Kingdom Hearts HD 2.8 Final Chapter Prologue [[Category:Music in Kingdom Hearts HD 2.8 Final Chapter Prologue]]
|KH0.2=Kingdom Hearts 0.2 Birth by Sleep -A fragmentary passage- [[Category:Music in Kingdom Hearts 0.2 Birth by Sleep -A fragmentary passage-]]
|KH3DHD=Kingdom Hearts HD Dream Drop Distance [[Category:Music in Kingdom Hearts Dream Drop Distance HD]]
|KH0.2=Kingdom Hearts 0.2 Birth by Sleep -A fragmentary passage- [[Category:Music in Kingdom Hearts 0.2 Birth by Sleep -A fragmentary passage]]
|KHXBC=Kingdom Hearts χ Back Cover [[Category:Music in Kingdom Hearts χ Back Cover]]
|KHXBC=Kingdom Hearts χ Back Cover [[Category:Music in Kingdom Hearts χ Back Cover]]
|KHIII=Kingdom Hearts III [[Category:Music in Kingdom Hearts III]]
|KHIII=Kingdom Hearts III [[Category:Music in Kingdom Hearts III]]
|#default={{{game|}}} [[Category:Songs]]
|KHIIIRM=Kingdom Hearts III Re Mind [[Category:Music in Kingdom Hearts III Re Mind]]
}}'''''
|KHMOM=Kingdom Hearts Melody of Memory [[Category:Music in Kingdom Hearts Melody of Memory]]
{{!}}-
|KHML=Kingdom Hearts Missing-Link [[Category:Music in Kingdom Hearts Missing-Link]]
}}
|KHIV=Kingdom Hearts IV [[Category:Music in Kingdom Hearts IV]]
| colspan="2" width=100% align="center" style="padding:3px; background:#A0A0A0;" |{{#if: {{{image|}}} |{{{image}}}| {{#switch: {{{game|}}}
|#default={{{game|}}} [[Category:Music in Albums]]
|KH=[[File:Kingdom Hearts Logo KH.png|200px]]
}}''</small><br><big>'''{{{tracktitle}}}'''</big>
|KHFM=[[File:Kingdom Hearts Final Mix Logo KHFM.png|200px]]
|-
|KHCOM=[[File:Kingdom Hearts Chain of Memories Logo KHCOM.png|200px]]
| colspan="2" |{{#if:{{{ost|}}}|{{tab|o|295px}}{{tab|In-Game}}}} [[File:Theme Notes.png|center|90px|class=notpageimage]] {{#if:{{{norecord|}}}|<span style="color:#CC0000>'''No known recording of this track exists.'''</span>|{{#if:{{{file|}}}|{{#ifexist:{{{file}}}|[[{{{file}}}]]| <span style="color:#CC0000>'''This file doesn't exist. Perhaps you could help us by uploading it.'''</span><br> [[{{{file}}}]] }} | {{#ifexist: File:{{{tracktitle}}} {{{game}}}.ogg |[[File:{{{tracktitle}}} {{{game}}}.ogg]] | <span style="color:#CC0000>'''This file doesn't exist. Perhaps you could help us by uploading it.'''</span><br> [[File:{{{tracktitle}}} {{{game}}}.ogg]]}}}}}} {{#if:{{{ost|}}}|{{tab|c}}{{tab|OST}} [[File:Theme Notes.png|center|90px|class=notpageimage]] {{#if:{{{ostfile|}}}|{{#ifexist:{{{ostfile}}}|[[{{{ostfile}}}]]| <span style="color:#CC0000>'''This file doesn't exist. Perhaps you could help us by uploading it.'''</span><br> [[{{{ostfile}}}]] }} | {{#ifexist: File:{{{tracktitle}}} (OST) {{{game}}}.ogg |[[File:{{{tracktitle}}} (OST) {{{game}}}.ogg]] | <span style="color:#CC0000>'''This file doesn't exist. Perhaps you could help us by uploading it.'''</span><br> [[File:{{{tracktitle}}} (OST) {{{game}}}.ogg]]}}}} }}
|KHRECOM=[[File:Kingdom Hearts ReChain of Memories Logo KHRECOM.png|200px]]
|KHII=[[File:Kingdom Hearts II Logo KHII.png|200px]]
|KHIIFM=[[File:Kingdom Hearts II Final Mix Logo KHIIFM.png|200px]]
|KHD=[[File:Kingdom Hearts 358-2 Days Logo KHD.png|200px]]
|KHBBS=[[File:Kingdom Hearts Birth by Sleep Logo KHBBS.png|200px]]
|KHBBSFM=[[File:Kingdom Hearts Birth by Sleep Final Mix Logo KHBBSFM.png|200px]]
|KHREC=[[File:Kingdom Hearts Recoded Logo KHREC.png|200px]]
|KH3D=[[File:Kingdom Hearts Dream Drop Distance Logo KH3D.png|200px]]
|KHX=[[File:Kingdom Hearts chi Logo KHX.png|200px]]
|KHHD=[[File:Kingdom Hearts HD 1.5 ReMIX Logo KHHD.png|200px]]
|KHIIHD=[[File:Kingdom Hearts HD 2.5 ReMIX Logo KHIIHD.png|200px]]
|KHHD2.8=[[File:Kingdom Hearts HD 2.8 Final Chapter Prologue Logo KHHDFCP.png|200px]]
|KH3DHD=[[File:Kingdom Hearts Dream Drop Distance HD Logo.png|200px]]
|KH0.2=[[File:Kingdom Hearts Birth by Sleep 0.2 A fragmentary passage Logo.png|200px]]
|KHXBC=[[File:Kingdom Hearts X Back Cover Logo.png|200px]]
|KHIII=[[File:Kingdom Hearts III Logo.png|200px]]
|#default={{{image}}}
}}
}}
|-
|-
| colspan="2" width=100% align="center" style="background:#A0B9CF; padding:10px;" |[[File:Theme Notes.png|center|90px]] {{#if: {{{file|}}}| {{#ifexist: {{{file}}} |[[{{{file}}}]] | <font color=#CC0000>'''This file doesn't exist. Perhaps you could help us by uploading it.'''</font><br> [[{{{file}}}]] }} | {{#ifexist: File:{{{tracktitle}}} {{{game}}}.ogg |[[File:{{{tracktitle}}} {{{game}}}.ogg]] | <font color=#CC0000>'''This file doesn't exist. Perhaps you could help us by uploading it.'''</font><br> [[File:{{{tracktitle}}} {{{game}}}.ogg]] }} }}
!style="text-align:right; width:30%; {{style|{{{game|series}}}|a}}; padding:3px"|Arranger
|style="text-align:left; width:70%; {{style|{{{game|series}}}|b}}; padding:3px"|{{{arranger|{{{artist}}}}}}
|-
|-
| align="right" width=30% style="background:#06305B; padding:3px;"|'''Artist'''
!style="text-align:right; {{style|{{{game|series}}}|a}}; padding:3px"|Composer
| align="left" style="background:#25506B; padding:3px;"|{{{artist}}}
|style="text-align:left; {{style|{{{game|series}}}|b}}; padding:3px"|{{{composer}}}
|-
|-
| align="right" width=30% style="background:#06305B; padding:3px;"|'''Composer'''
{{#if:{{{orchestrator|}}}|
| align="left" style="background:#25506B; padding:3px;"|{{{composer}}}
!style="text-align:right; {{style|{{{game|series}}}|a}}; padding:3px"{{!}}Orchestrator
{{!}}style="text-align:left; {{style|{{{game|series}}}|b}}; padding:3px"{{!}}{{{orchestrator}}}
{{!}}-
}}
|-
|-
{{#if:{{{performer|}}}|
{{#if:{{{performer|}}}|
{{!}} align="right" width=30% style="background:#06305B; padding:3px;"{{!}} '''Performer'''
!style="text-align:right; {{style|{{{game|series}}}|a}}; padding:3px"{{!}}Performer
{{!}} align="left" style="background:#25506B; padding:3px;" {{!}} {{{performer}}}
{{!}}style="text-align:left; {{style|{{{game|series}}}|b}}; padding:3px"{{!}}{{{performer}}}
{{!}}-
}}
{{#if:{{{vocalist|}}}|
!style="text-align:right; {{style|{{{game|series}}}|a}}; padding:3px"{{!}}Vocalist
{{!}}style="text-align:left; {{style|{{{game|series}}}|b}}; padding:3px"{{!}}{{{vocalist}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{length|}}}|
{{#if:{{{length|}}}|
{{!}} align="right" width=30% style="background:#06305B; padding:3px; border-bottom-left-radius: 0.5em;"{{!}} '''Length'''
!style="text-align:right; {{style|{{{game|series}}}|a}}; padding:3px; border-bottom-left-radius:0.5em"{{!}}Length
{{!}} align="left" style="background:#25506B; padding:3px; border-bottom-right-radius: 0.5em;" {{!}} {{{length}}}
{{!}}style="text-align:left; {{style|{{{game|series}}}|b}}; padding:3px; border-bottom-right-radius:0.5em"{{!}}{{{length}}}
{{!}}-
{{!}}-
}}
}}
|}<noinclude>
|}{{#switch:{{{type|}}}
{{-}}
|field|battle|world=[[Category:World themes]]
|boss=[[Category:Boss themes]]
|character|char=[[Category:Character themes]]
}}</includeonly><noinclude>
== Usage ==
== Usage ==
Use this template on pages for music tracks. The template will attempt to find the track using the wiki's file naming schema. If the track does not appear, or is not titled that way, you can use the <code>{{{file}}}</code> parameter. Images should be added automatically for tracks that appear in-game. If the track does not appear in a game, use the track's album cover in <code>{{{image}}}</code>. Categories will be added automatically for in-game tracks.
Use this template on pages for music tracks.
 
{|border="1" cellspacing="0" cellpadding="2" style="{{style|text|a}}; width:80%"
|-style="{{style|mom|a}}"
!style="width:15%"|Parameter
!Description
|-
!style="{{style|mom|b}}" colspan="2"|Standard parameters
|-
|game||The game (or album) that the track is from. Automatically adds categories. See below for standard abbreviations.
|-
|tracktitle||The title of the track.
|-
|arranger<br>artist||The arranger of the track.
|-
|composer||The composer of the track.
|-
|length||The length of the track. Optional for unreleased tracks.
|-
!style="{{style|mom|b}}" colspan="2"|Additional parameters
|-
|file||The .ogg file (including <code>File:</code>). Use when the template cannot find the track using the wiki's file naming schema.
|-
|orchestrator||The orchestrator of the track.
|-
|performer||The performer of the track. Use for live performances.
|-
|vocalist||The vocalist of the track.
|-
|ost||Any value will do, such as "*" or "true". Use for tracks that have two music files to display: one for the original "In-Game" version of the song, and one for the "OST" version with enhanced instrumentation.
|-
|ostfile||Equivalent to the <code>file</code> parameter for the second music file when using <code>ost</code>.
|-
|norecord||Any value will do, such as "*" or "true". Used by the tracks for which no known recording exists (mostly tracks at live performances that never saw an album release, e.g. "[[Toy Box Medley]]").
|-
|type||Either "world", "boss", or "character". Automatically adds categories. Only needs to be on one InfoTrack template per article, unless a page belongs in multiple categories.
|}


Note that <code>{{{length}}}</code> and <code>{{{game}}}</code> are optional. For <code>{{{game}}}</code>, use the game's abbreviation as follows:
For <code>|game=</code>, use the game's abbreviation as follows:
*KH = Kingdom Hearts
*KH = Kingdom Hearts
*KHFM = Kingdom Hearts Final Mix
*KHFM = Kingdom Hearts Final Mix
*KHCOM = Kingdom Hearts: Chain of Memories
*KHCOM = Kingdom Hearts Chain of Memories
*KHRECOM = Kingdom Hearts Re:Chain of Memories
*KHRECOM = Kingdom Hearts Re:Chain of Memories
*KHII = Kingdom Hearts II
*KHII = Kingdom Hearts II
Line 84: Line 111:
*KHBBS = Kingdom Hearts Birth by Sleep
*KHBBS = Kingdom Hearts Birth by Sleep
*KHBBSFM = Kingdom Hearts Birth by Sleep Final Mix
*KHBBSFM = Kingdom Hearts Birth by Sleep Final Mix
*KHC = Kingdom Hearts coded
*KHREC = Kingdom Hearts Re:coded
*KHREC = Kingdom Hearts Re:coded
*KH3D = Kingdom Hearts 3D: Dream Drop Distance
*KH3D = Kingdom Hearts 3D: Dream Drop Distance
*KHX = Kingdom Hearts χ
*KHHD = Kingdom Hearts HD 1.5 ReMIX
*KHHD = Kingdom Hearts HD 1.5 ReMIX
*KHIIHD = Kingdom Hearts HD 2.5 ReMIX
*KHIIHD = Kingdom Hearts HD 2.5 ReMIX
*KHHD2.8 = Kingdom Hearts HD 2.8 Final Chapter Prologue
*KHX = Kingdom Hearts χ[chi]
*KH3DHD = Kingdom Hearts Dream Drop Distance HD
*KHUX = Kingdom Hearts Union χ[Cross]
*KHXBC = Kingdom Hearts χ Back Cover
*KH0.2 = Kingdom Hearts 0.2 Birth by Sleep -A fragmentary passage-
*KH0.2 = Kingdom Hearts 0.2 Birth by Sleep -A fragmentary passage-
*KHXBC = Kingdom Hearts χ Back Cover
*KHIII = Kingdom Hearts III
*KHIII = Kingdom Hearts III
*KHIIIRM = Kingdom Hearts III Re Mind
*KHMOM = Kingdom Hearts Melody of Memory
*KHML = Kingdom Hearts Missing-Link
*KHIV = Kingdom Hearts IV
For albums, use the album name for the <code>|game=</code> parameter.


[[Category:Infoboxes]]
[[Category:Infoboxes]]</noinclude>
</noinclude>

Latest revision as of 02:00, 9 June 2023

Usage

Use this template on pages for music tracks.

Parameter Description
Standard parameters
game The game (or album) that the track is from. Automatically adds categories. See below for standard abbreviations.
tracktitle The title of the track.
arranger
artist
The arranger of the track.
composer The composer of the track.
length The length of the track. Optional for unreleased tracks.
Additional parameters
file The .ogg file (including File:). Use when the template cannot find the track using the wiki's file naming schema.
orchestrator The orchestrator of the track.
performer The performer of the track. Use for live performances.
vocalist The vocalist of the track.
ost Any value will do, such as "*" or "true". Use for tracks that have two music files to display: one for the original "In-Game" version of the song, and one for the "OST" version with enhanced instrumentation.
ostfile Equivalent to the file parameter for the second music file when using ost.
norecord Any value will do, such as "*" or "true". Used by the tracks for which no known recording exists (mostly tracks at live performances that never saw an album release, e.g. "Toy Box Medley").
type Either "world", "boss", or "character". Automatically adds categories. Only needs to be on one InfoTrack template per article, unless a page belongs in multiple categories.

For |game=, use the game's abbreviation as follows:

  • KH = Kingdom Hearts
  • KHFM = Kingdom Hearts Final Mix
  • KHCOM = Kingdom Hearts Chain of Memories
  • KHRECOM = Kingdom Hearts Re:Chain of Memories
  • KHII = Kingdom Hearts II
  • KHIIFM = Kingdom Hearts II Final Mix
  • KHD = Kingdom Hearts 358/2 Days
  • KHBBS = Kingdom Hearts Birth by Sleep
  • KHBBSFM = Kingdom Hearts Birth by Sleep Final Mix
  • KHC = Kingdom Hearts coded
  • KHREC = Kingdom Hearts Re:coded
  • KH3D = Kingdom Hearts 3D: Dream Drop Distance
  • KHHD = Kingdom Hearts HD 1.5 ReMIX
  • KHIIHD = Kingdom Hearts HD 2.5 ReMIX
  • KHX = Kingdom Hearts χ[chi]
  • KHUX = Kingdom Hearts Union χ[Cross]
  • KHXBC = Kingdom Hearts χ Back Cover
  • KH0.2 = Kingdom Hearts 0.2 Birth by Sleep -A fragmentary passage-
  • KHIII = Kingdom Hearts III
  • KHIIIRM = Kingdom Hearts III Re Mind
  • KHMOM = Kingdom Hearts Melody of Memory
  • KHML = Kingdom Hearts Missing-Link
  • KHIV = Kingdom Hearts IV

For albums, use the album name for the |game= parameter.