Template:Tracklist
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 and should conduct experiments and test improvements in your user space before changing anything here.
{{tracklist | collapsed = | headline = | extra_column = | total_length = | all_writing = | all_lyrics = | all_music = | writing_credits = | lyrics_credits = | music_credits = | title1 = | note1 = | writer1 = | lyrics1 = | music1 = | extra1 = | length1 = | title2 = | note2 = | writer2 = | lyrics2 = | music2 = | extra2 = | length2 = ... | title99 = | note99 = | writer99 = | lyrics99 = | music99 = | extra99 = | length99 = }}
Parameters
Parameter | Description |
---|---|
collapsed | Include this parameter with the value yes (collapsed = yes) to have the track listing table start out collapsed. Useful for very long lists and/or pages with several lists. This parameter only takes effect in JavaScript-enabled browsers. Use the headline option to ensure the visibility of a collapsed list. |
headline | An optional headline, to denote sides/disc numbers of an LP or in case of some works, special groups or cycles of songs (i.e., Side A, Disc three, etc.). The default font-weight of the headline is bold. The {{ | }} template can be used to have part or all of the headline appear in the normal font-weight.
extra_column | Used to both enable and set the header for an additional column to hold per-track information. If this option is not used, no extra column will be shown. Use sparingly, in order to keep the overall column count to a minimum and if the respective type of date is not available for most tracks consider using the note fields instead. Some suggested headers: Artist (compilations), Original artist (cover albums), Producer(s) (e.g. on hip hop records), Remixer(s) (remix albums). |
total_length | Used to display the total length of the record at the bottom of the list. Not necessary in most cases (as that information will usually be covered by an infobox), but useful in some (i.e., releases with a lot of individual discs). |
all_writing all_lyrics all_music |
Used to display general songwriting credits for the entire record in a note above the track listing. If all_writing is supplied, the other two parameters are ignored. |
writing_credits | Include this parameter with the value yes (i.e., writing_credits = yes) to turn on a column for track-specific songwriting credits. Avoid redundancy, if all or most songs on a record were written by the same person(s), consider using the all_writing option and note fields for exceptions. Note that the writing_credits option disables the lyrics_credits and music_credits options. |
lyrics_credits music_credits |
Include these parameters with the value yes (e.g. lyrics_credits = yes) to turn on columns for track-specific lyrics and music credits. Avoid redundancy, if the lyrics and/or music of most songs on a record can be attributed to the same person(s), consider using the all_lyrics and all_music options respectively, along with note fields for exceptions. Note that the writing_credits option disables the lyrics_credits and music_credits options. |
titlen | (i.e., title1, title2, etc.) The title of the respective track. Note that a track listing does not have to start with a #1 (i.e., for having Side B of an LP start at track six or leaving out empty tracks preceding a bonus track). Track names are automatically put into quotes. |
noten | (i.e., note1, note2, etc.) An optional note to be displayed in brackets behind the title. Useful for original titles in other languages/scripts (i.e., kanji) or to denote bonus tracks only included in certain editions. |
writern lyricsn musicn |
Use to denote the writer(s) of the track in general or of the lyrics and/or music individually. Remember to turn on the desired columns with the parameters ending with _credits (see above) and avoid redundancy where possible. |
extran | Holds the content of the user-set column for the respective track (see extra_column). |
lengthn | (i.e., length1, length2, etc.) The length of the track in a m:ss formatting (or mm:ss if particularly long tracks occur). For example: 4:35 |
Examples
The Beatles (The White Album), by The Beatles
The collapsed and headline options, general songwriting credits:
At least one numeric parameter is required!
At least one numeric parameter is required!
At least one numeric parameter is required!
At least one numeric parameter is required!
Greatest Hits by Queen
Per-track notes and writing credits, total_length option:
At least one numeric parameter is required!
Smile by L'Arc-en-Ciel
Individual per-track credits for music and lyrics, original song titles in the notes field:
At least one numeric parameter is required!
Yeah! by Def Leppard
Using the extra_column option to denote each song's original artist.
At least one numeric parameter is required!
Presets
For editing convenience, here are presets for the various possible track listing configurations. While not all presets are that long, the template supports up to 99 tracks in any configuration. Before saving a track listing created with one of these, consider to remove fields that are likely to remain empty in the foreseeable future.
- Title, Length (with notes/extra column/notes and extra column)
- Title, Writer(s), Length (with notes/extra column/notes and extra column)
- Title, Lyrics, Length (with notes/extra column/notes and extra column)
- Title, Music, Length (with notes/extra column/notes and extra column)
- Title, Lyrics, Music, Length (with notes/extra column/notes and extra column)