Template:InfoTrack: Difference between revisions

From the Kingdom Hearts Wiki, the Kingdom Hearts encyclopedia
Jump to navigationJump to search
No edit summary
(Template now adds image automatically unless defined by {{{image}}})
Line 22: Line 22:
{{!}}-
{{!}}-
}}
}}
| colspan="2" width=100% align="center" style="padding:3px;" |{{{image}}}
| colspan="2" width=100% align="center" style="padding:3px;" |{{#if: {{{image|}}} |{{{image}}}| {{#switch: {{{game|}}}
|KH=[[File:Kingdom Hearts Logo KH.png|200px]]
|KHFM=[[File:Kingdom Hearts Final Mix Logo KHFM.png|200px]]
|KHCOM=[[File:Kingdom Hearts Chain of Memories Logo KHCOM.png|200px]]
|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]]
|#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]] }} }}
| 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]] }} }}
Line 40: Line 57:
{{-}}
{{-}}
== Usage ==
== Usage ==
Use this template on pages for music tracks. For images, be sure to use the logo of the game the song appears in. If the track does not appear in a game, use the track's album cover. 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. Categories will be added automatically by game.
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.


Note that <code>{{{length}}}</code> and <code>{{{game}}}</code> are optional. For <code>{{{game}}}</code>, use the game's abbreviation as follows:
Note that <code>{{{length}}}</code> and <code>{{{game}}}</code> are optional. For <code>{{{game}}}</code>, use the game's abbreviation as follows:

Revision as of 05:29, 10 November 2014

{{{tracktitle}}}
{{{image}}}
Theme Notes.png
This file doesn't exist. Perhaps you could help us by uploading it.
[[File:{{{tracktitle}}} {{{game}}}.ogg]]
Artist {{{artist}}}
Composer {{{composer}}}

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 {{{file}}} 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 {{{image}}}. Categories will be added automatically for in-game tracks.

Note that {{{length}}} and {{{game}}} are optional. 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
  • KHREC = Kingdom Hearts Re:coded
  • KH3D = Kingdom Hearts 3D: Dream Drop Distance
  • KHX = Kingdom Hearts χ
  • KHHD = Kingdom Hearts HD 1.5 ReMIX
  • KHIIHD = Kingdom Hearts HD 2.5 ReMIX