Template:Track listing
No. | Title | Length |
---|
Uses Lua: |
Usage
[edit]{{Track listing
| headline =
| extra_column =
| total_length =
| all_writing =
| all_lyrics =
| all_music =
| title_width =
| writing_width =
| music_width =
| lyrics_width =
| extra_width =
| title1 =
| note1 =
| writer1 =
| lyrics1 =
| music1 =
| extra1 =
| length1 =
| title2 =
| note2 =
| writer2 =
| lyrics2 =
| music2 =
| extra2 =
| length2 =
| title3 =
| note3 =
| writer3 =
| lyrics3 =
| music3 =
| extra3 =
| length3 =
...
}}
Parameters
[edit]Parameter | Description |
---|---|
|headline=
|
An optional headline, to denote sides/disc numbers of an album (e.g. Адыгэбзэ: Side A , Адыгэбзэ: Disc 3 , etc.) or in case of some works, special groups or cycles of songs. The default font-weight of the headline is bold. The {{nobold}} template can be used to have part or all of the headline appear in normal font weight. The headline "Track listing" (without the quotes) is added by default. Use the headline option to replace that text where needed.
|
|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 data is not available for most tracks consider using the note fields instead. Some suggested headers: Адыгэбзэ: Artist (compilations), Адыгэбзэ: Original artist (cover albums), Адыгэбзэ: Producer(s) , Адыгэбзэ: Remixer(s) (remix albums).
|
|total_length=
|
Used to display the total length of the record at the bottom of the list. It should be specified in minutes and seconds, even if it is longer than one hour, for example 74:23. |
|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.
|
|title_width= |writing_width= |music_width= |lyrics_width= |extra_width=
|
Include these parameters to override the default column widths (e.g. |title_width=30% ). Note: If the width of a column is overridden, the width of all other columns used in the table must be also overridden for it to appear correctly.
|
|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 or continue with 1, 2, 3... order (e.g. 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, unless the field is left empty, in which case the track name will display as Template:Samp (without quotes). This is used for when no title is given to a track in any form on the album or media that is officially related to the album.
|
|noten=
|
(i.e. note1 , note2 , etc.) An optional note to be displayed in parentheses behind the title. Useful for original titles in other languages/scripts (e.g. kanji) or to denote bonus tracks only included in certain editions. Keep notes short. Excessive commentary disrupts the flow of the track listing, which should be easily scannable.
|
|writern=
|
(i.e. writer1 , writer2 , etc.) Use to denote the writer(s) of individual tracks. Avoid redundancy: if all or most tracks on a record were written by the same person(s), consider using the all_writing option and using the noten options for any exceptions.
|
|lyricsn= |musicn=
|
(i.e. lyrics1 , music1 , lyrics2 , music2 , etc.) Use to denote the lyricist(s) and composer(s) of individual tracks. If most tracks are written by the same people, you can use the all_lyrics and all_music options instead, and use the noten options for exceptions. Note that if any writern options are specified, all lyricsn and musicn options will be ignored, and the Lyrics and Music columns will not be displayed.
|
|extran=
|
(i.e. extra1 , extra2 , etc.) 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 or even h:mm:ss if particularly long tracks occur). For example: Адыгэбзэ: 4:35
|
|collapsed=
|
Deprecated. Including this parameter with the value yes (|collapsed=yes ) will cause the track listing table to start out collapsed. This was intended for very long lists or pages with several lists. Do not use this in mainspace (articles), per and . Doing so breaks all of the following: 1) in-page searching, 2) screen readers, 3) mobile accessibility to the content, 4) browsers without Javascript (or with it temporarily disabled), 5) various reuse of Wikipedia content.
|
Examples
[edit]The Beatles ("the White Album") by the Beatles
[edit]The headline option, general songwriting credits:
All tracks are written by Lennon–McCartney, except where noted
No. | Title | Length |
---|---|---|
1. | "Back in the U.S.S.R." | 2:43 |
2. | "Dear Prudence" | 3:56 |
3. | "Glass Onion" | 2:17 |
4. | "Ob-La-Di, Ob-La-Da" | 3:08 |
5. | "Wild Honey Pie" | 0:52 |
6. | "The Continuing Story of Bungalow Bill" | 3:13 |
7. | "While My Guitar Gently Weeps" (George Harrison) | 4:45 |
8. | "Happiness Is a Warm Gun" | 2:43 |
No. | Title | Length |
---|---|---|
9. | "Martha My Dear" | 2:28 |
10. | "I'm So Tired" | 2:03 |
11. | "Blackbird" | 2:18 |
12. | "Piggies" (Harrison) | 2:04 |
13. | "Rocky Raccoon" | 3:32 |
14. | "Don't Pass Me By" (Richard Starkey) | 3:50 |
15. | "Why Don't We Do It in the Road?" | 1:40 |
16. | "I Will" | 1:45 |
17. | "Julia" | 2:54 |
No. | Title | Length |
---|---|---|
1. | "Birthday" | 2:42 |
2. | "Yer Blues" | 4:00 |
3. | "Mother Nature's Son" | 2:47 |
4. | "Everybody's Got Something to Hide Except Me and My Monkey" | 2:24 |
5. | "Sexy Sadie" | 3:15 |
6. | "Helter Skelter" | 4:29 |
7. | "Long, Long, Long" (Harrison) | 3:03 |
No. | Title | Length |
---|---|---|
8. | "Revolution 1" | 4:15 |
9. | "Honey Pie" | 2:40 |
10. | "Savoy Truffle" (Harrison) | 2:54 |
11. | "Cry Baby Cry" | 3:02 |
12. | "Revolution 9" | 8:13 |
13. | "Good Night" | 3:11 |
Greatest Hits by Queen
[edit]Per-track notes and writing credits, total_length option:
No. | Title | Writer(s) | Length |
---|---|---|---|
1. | "Bohemian Rhapsody" (from A Night at the Opera, 1975) | Freddie Mercury | 5:55 |
2. | "Another One Bites the Dust" (from The Game, 1980) | John Deacon | 3:36 |
3. | "Killer Queen" (from Sheer Heart Attack, 1974) | Mercury | 2:57 |
4. | "Fat Bottomed Girls" (single version, from Jazz, 1978) | Brian May | 4:16 |
5. | "Bicycle Race" (from Jazz, 1978) | Mercury | 3:01 |
6. | "You're My Best Friend" (from A Night at the Opera, 1975) | Deacon | 2:52 |
7. | "Don't Stop Me Now" (from Jazz, 1978) | Mercury | 3:29 |
8. | "Save Me" (from The Game, 1980) | May | 3:48 |
9. | "Crazy Little Thing Called Love" (from The Game, 1980) | Mercury | 2:42 |
10. | "Somebody to Love" (from A Day at the Races, 1976) | Mercury | 4:56 |
11. | "Now I'm Here" (from Sheer Heart Attack, 1974) | May | 4:10 |
12. | "Good Old-Fashioned Lover Boy" (from A Day at the Races, 1976) | Mercury | 2:54 |
13. | "Play the Game" (from The Game, 1980) | Mercury | 3:33 |
14. | "Flash" (single version, from Flash Gordon, 1980) | May | 2:48 |
15. | "Seven Seas of Rhye" (from Queen II, 1974) | Mercury | 2:47 |
16. | "We Will Rock You" (from News of the World, 1977) | May | 2:01 |
17. | "We Are the Champions" (from News of the World, 1977) | Mercury | 2:59 |
Total length: | 58:44 |
Smile by L'Arc-en-Ciel
[edit]Individual per-track credits for music and lyrics, original song titles in the notes field:
No. | Title | Lyrics | Music | Length |
---|---|---|---|---|
1. | "Kiss" (Template:Nihongo2 Kuchizuke) | Hyde | Ken | 4:25 |
2. | "Ready Steady Go" | Hyde | Tetsu | 3:45 |
3. | "Lover Boy" | Ken | Ken | 4:45 |
4. | "Feeling Fine" | Hyde | Ken | 4:17 |
5. | "Time Goes On" | Tetsu | Tetsu | 4:44 |
6. | "Coming Closer" | Hyde | Ken | 5:14 |
7. | "Forever" (Template:Nihongo2 Eien) | Hyde | Hyde | 4:39 |
8. | "Revelation" | Hyde | Yukihiro | 3:18 |
9. | "Living in Your Eyes" (Template:Nihongo2 Hitomi no Jyūnin) | Hyde | Tetsu | 5:55 |
10. | "Spirit Dreams Inside -Another Dream-" | Hyde | Hyde | 3:47 |
11. | "Ready Steady Go (Hydeless Version)" (US release only) | Hyde | Tetsu | 3:47 |
Yeah! by Def Leppard
[edit]Using the extra_column option to denote each song's original artist:
No. | Title | Writer(s) | Original artist | Length |
---|---|---|---|---|
1. | "20th Century Boy" | Marc Bolan | T. Rex | 3:41 |
2. | "Rock On" | David Essex | David Essex | 2:53 |
3. | "Hanging on the Telephone" | Jack Lee | The Nerves | 2:23 |
4. | "Waterloo Sunset" | Ray Davies | The Kinks | 3:38 |
5. | "Hell Raiser" | Mike Chapman, Nicky Chinn | Sweet | 3:20 |
6. | "10538 Overture" | Jeff Lynne | Electric Light Orchestra | 4:31 |
7. | "Street Life" | Bryan Ferry | Roxy Music | 3:26 |
8. | "Drive-In Saturday" | David Bowie | David Bowie | 4:07 |
9. | "Little Bit of Love" | Paul Rodgers, Paul Kossoff, Andy Fraser, Simon Kirke | Free | 2:34 |
10. | "The Golden Age of Rock 'n' Roll" | Ian Hunter | Mott the Hoople | 3:28 |
11. | "No Matter What" | Pete Ham | Badfinger | 2:57 |
12. | "He's Gonna Step on You Again" | John Kongos, Christos Demetriou | John Kongos | 4:05 |
13. | "Don't Believe a Word" | Phil Lynott | Thin Lizzy | 2:19 |
14. | "Stay with Me" | Rod Stewart, Ronnie Wood | Faces | 4:30 |
Presets
[edit]For editing convenience, here are presets for the various possible track listing configurations. Before saving a track listing created with one of these, consider removing 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)
- Title, Music, Length (with notes/extra column)
- Title, Lyrics, Music, Length (with notes/extra column)
Tracking categories
[edit]Previously this template used the parameters writing_credits
, lyrics_credits
and music_credits
to determine which of the Writer(s), Lyrics, and Music columns to display. These parameters are now deprecated, and pages using them are categorized in Category:Track listings with deprecated parameters.
See also
[edit]TemplateData
[edit]- TemplateData
TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.
Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either useTemplateData=1
or useTemplateData=only
on the /doc
subpage and transcluding it with {{Documentation}} into the template. <nowiki>
-tags can be wrapped around the arguments, if required, to avoid templates being expanded.
Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw <templatedata>
-tags into the Wikitext of the template, as described in various Wikipediae.
Wikipedia's help about TemplateData • Commons-specific information
Show TemplateData
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Generates a track listing for an album or other music recording.
Format: block Test of raw TemplateData output: Generates a track listing for an album or other music recording.
|