Template:Extra track listing/doc
This is a documentation subpage for Template:Extra track listing. It contains usage information, categories, interlanguage links and other content that is not part of the original template page. |
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here. |
Usage[edit source]
Below are four versions of this template useful for different purposes. The first is for general use with {{Infobox single}}. The second is the same, but is used to display the entire track listing of an album. The third is for use with {{Infobox song}}, where several versions have been recorded. The fourth is the same, and again is for displaying the entire track listing of an album. Please see the "Notes" section below for additional information regarding usage.
•
Album title track listing | |||||
---|---|---|---|---|---|
|
{{Extra track listing | Album = | Type = | prev_track = | prev_no = | this_track = | track_no = | next_track = | next_no = }}
•
Album title track listing | ||
---|---|---|
|
{{Extra track listing | Album = | Type = | Tracks = }}
•
from the album Album title | |||||
---|---|---|---|---|---|
Length | 3:30 | ||||
Label | Record label | ||||
|
{{Extra track listing | altAlbum = | Type = | Length = | Label = | prev_track = | prev_no = | this_track = | track_no = | next_track = | next_no = }}
•
from the album Album title | ||
---|---|---|
Length | 3:30 | |
Label | Record label | |
|
{{Extra track listing | altAlbum = | Type = | Length = | Label = | Tracks = }}
Notes[edit source]
- The "Tracks" field must never be used with the "prev_track", "this_track" and "next_track" fields, as this will result in a display error.
- The {{Infobox song}} versions may also be used with the {{Infobox single}} template if other versions/variations of the same song have been recorded. In this situation, the first version of this template should be used first (representing the single's album) and the third version should be used afterward (representing recordings on other albums). See "Bring Me to Life" for this use of the code in action.
Type[edit source]
The "Type" field refers to the type of the outer infobox and is used to set the background color of the section header. Use |Type=single
when {{Extra track listing}} is used with {{Infobox single}}. Use |Type=song
when {{Extra track listing}} is used with {{Infobox song}}. This keeps the section header background colors consistent; the infobox is about the single or the song, and not about the album(s) where it appears.