Template:InfoTrack: Difference between revisions

From the Kingdom Hearts Wiki, the Kingdom Hearts encyclopedia
Jump to navigationJump to search
No edit summary
(Changed "Artist" to "Arranger", added "Orcestrator" parameter, reformatted documentation into table)
 
Line 30: Line 30:
| 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]]}}}} }}
| 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]]}}}} }}
|-
|-
!style="text-align:right; width:30%; {{style|{{{game|series}}}|a}}; padding:3px"|Artist
!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"|{{{artist}}}
|style="text-align:left; width:70%; {{style|{{{game|series}}}|b}}; padding:3px"|{{{arranger|{{{artist}}}}}}
|-
|-
!style="text-align:right; {{style|{{{game|series}}}|a}}; padding:3px"|Composer
!style="text-align:right; {{style|{{{game|series}}}|a}}; padding:3px"|Composer
|style="text-align:left; {{style|{{{game|series}}}|b}}; padding:3px"|{{{composer}}}
|style="text-align:left; {{style|{{{game|series}}}|b}}; padding:3px"|{{{composer}}}
|-
{{#if:{{{orchestrator|}}}|
!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|}}}|
Line 57: Line 63:
}}</includeonly><noinclude>
}}</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.
Use this template on pages for music tracks.


Every instance of this template must include the <code>|composer=</code> and <code>|artist=</code> parameters (for the track's composer and arranger, respectively). The inclusion of <code>|length=</code> is optional. There is also an optional <code>|performer=</code> parameter for live performances and a <code>|vocalist=</code> parameter for songs.
{|border="1" cellspacing="0" cellpadding="2" style="{{style|text|a}}; width:80%"
 
|-style="{{style|mom|a}}"
The <code>|ost=</code> parameter is required for any ''Kingdom Hearts Re:coded'' and ''Kingdom Hearts 358/2 Days'' tracks that saw an album release. Setting it to "true" (or any non-empty value) will allow the infobox to display two music files: one for the original "In-Game" version of the song, and one for the "OST" version with enhanced instrumentation. The <code>|ostfile=</code> parameter is the equivalent field for these files.
!style="width:15%"|Parameter
 
!Description
For the small selection of tracks for which no known recording exists (mostly tracks at live performances that never saw an album release, e.g. "[[Toy Box Medley]]"), use the <code>|norecord=</code> parameter to prevent the template from searching for a nonexistent file. Any value will do, such as "true" or "*".
|-
 
!style="{{style|mom|b}}" colspan="2"|Standard parameters
Categories will be added automatically for in-game tracks. Additional categories- such as "world," "character," and "boss" themes- can be added using <code>|type=</code> and then the respective sub-category <code>world</code>, <code>character</code>, or <code>boss</code>. This only needs to be added on one InfoTrack template per article, unless a page belongs in multiple categories. [[:Category:World themes]] is for tracks that play either as the field (overworld) or battle theme for a specific world, such as "[[Destiny Islands (track)]]" and "[[Bustin' Up on the Beach]]". [[:Category:Boss themes]] is for tracks that are exclusive battle themes that play during boss fights, such as "[[One-Winged Angel (from FINAL FANTASY VII)]]". [[:Category:Character themes]] are for tracks that are solely character themes, such as "[[Kairi (track)]]" and "[[Naminé (track)]]".
|-
|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.
|}


For <code>|game=</code>, use the game's abbreviation as follows:
For <code>|game=</code>, use the game's abbreviation as follows:
Line 93: Line 127:


For albums, use the album name for the <code>|game=</code> parameter.
For albums, use the album name for the <code>|game=</code> parameter.
Note also that the following entries did not introduce any new tracks or arrangements, so they cannot (and should not) be called with this template:
*Kingdom Hearts Dream Drop Distance HD
*Kingdom Hearts HD 2.8 Final Chapter Prologue
*Kingdom Hearts Dark Road


[[Category:Infoboxes]]</noinclude>
[[Category:Infoboxes]]</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.