Template:Track listing/doc: Difference between revisions
Content deleted Content added
Johnrdorazio (talk | contribs) m 1 revision imported |
Johnrdorazio (talk | contribs) No edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1:
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE -->
{{#ifeq:{{SUBPAGENAME}}|sandbox||{{High-use}}}}
{{lua|Module:Track listing}}
This template is an optional way to organize track listings in articles about albums and singles. Please refer to [[wikipedia:it:MOS:VAR|MOS:VAR]] and [[wikipedia:it:WP:ALBUMSTYLE#Style and form|WP:ALBUMSTYLE#Style and form]] for maintaining existing styles on pages that do
===Usage===
Line 8 ⟶ 9:
{{Track listing
| headline =
| extra_column =
| all_writing =
Line 29:
| length1 =
| total_length =
...
Line 38 ⟶ 39:
{{Track listing
| headline =
| extra_column =
| all_writing =
Line 211:
| length20 =
| total_length =
...
}}
</pre>
{{Collapse bottom}}
{{Collapse top|title=Shortened empty template with 20 tracks for copy-pasting}}
<pre style="overflow:auto;">
{{Track listing
| headline =
| extra_column =
| all_writing =
| all_lyrics =
| all_music =
| title1 =
| length1 =
| title2 =
| length2 =
| title3 =
| length3 =
| title4 =
| length4 =
| title5 =
| length5 =
| title6 =
| length6 =
| title7 =
| length7 =
| title8 =
| length8 =
| title9 =
| length9 =
| title10 =
| length10 =
| title11 =
| length11 =
| title12 =
| length12 =
| title13 =
| length13 =
| title14 =
| length14 =
| title15 =
| length15 =
| title16 =
| length16 =
| title17 =
| length17 =
| title18 =
| length18 =
| title19 =
| length19 =
| title20 =
| length20 =
| total_length =
}}
</pre>
Line 227 ⟶ 303:
|-
| {{para|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 <code>note</code> fields instead. Some suggested headers: {{kbd|Artist}} ([[wikipedia:it:Compilation album|compilation]]s), {{kbd|Original artist}} ([[wikipedia:it:Cover version|cover]] albums), {{kbd|Producer(s)}}, {{kbd|Remixer(s)}} ([[wikipedia:it:remix album|remix album]]s).
|-
| {{para|all_writing}}<br />{{para|all_lyrics}}<br />{{para|all_music}}
Line 257 ⟶ 330:
|-
| {{para|collapsed}}
| {{strongbad|Deprecated}}. Including this parameter with the value {{var|yes}} ({{para|collapsed|yes}}) will cause the track listing table to start out collapsed. This was intended for very long lists or pages with several lists. {{strong|Do not use this in mainspace}} (articles), per [[wikipedia:it:MOS:DONTHIDE|MOS:DONTHIDE]] and [[wikipedia:it:MOS:ACCESSIBILITY|MOS:ACCESSIBILITY]]. 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 [[wikipedia:it:WP:REUSE|reuse]] of Wikipedia content. Use of this category will
|-
| {{para|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. This can be calculated manually, or inserted automatically with one click if you install the [[wikipedia:it:WP:USERSCRIPT|custom userscript]] at [[wikipedia:it:User:JPxG/TrackSum.js|User:JPxG/TrackSum.js]].
|}
===Examples===
====''[[wikipedia:it:The Beatles (album)|The Beatles]]'' ("the White Album") by [[wikipedia:it:the Beatles|the Beatles]]====
The ''headline'' option
{{Track listing
| headline
| extra_column = Lead vocals
| title1 = [[wikipedia:it:Back in the U.S.S.R.|Back in the U.S.S.R.]]
| extra1 = McCartney
| length1 = 2:43
| title2 = [[wikipedia:it:Dear Prudence|Dear Prudence]]
| extra2 = Lennon
| length2 = 3:56
| title3 = [[wikipedia:it:Glass Onion|Glass Onion]]
| extra3 = Lennon
| length3 = 2:18
| title4 = [[wikipedia:it:Ob-La-Di, Ob-La-Da|Ob-La-Di, Ob-La-Da]]
| extra4 = McCartney
| length4 = 3:08
| title5 = [[wikipedia:it:Wild Honey Pie|Wild Honey Pie]]
| extra5 = McCartney
| length5 = 0:52
| title6 = [[wikipedia:it:The Continuing Story of Bungalow Bill|The Continuing Story of Bungalow Bill]]
| extra6 = Lennon, with [[wikipedia:it:Yoko Ono|Yoko Ono]]
| length6 = 3:14
| title7 = [[wikipedia:it:While My Guitar Gently Weeps|While My Guitar Gently Weeps]]
| note7 = [[wikipedia:it:George Harrison|George Harrison]]
| extra7 = Harrison
| length7 = 4:45
| title8 = [[wikipedia:it:Happiness Is a Warm Gun|Happiness Is a Warm Gun]]
| extra8 = Lennon
| length8 = 2:47
|
}}
{{Track listing
| headline
| extra_column = Lead vocals
|
| extra1 = McCartney
| length1 = 2:28
|
| extra2 = Lennon
| length2 = 2:03
|
| extra3 = McCartney
| length3 = 2:18
|
|
| extra4 = Harrison
| length4 = 2:04
|
| extra5 = McCartney
| length5 = 3:33
|
|
| extra6 = Starr
| length6 = 3:51
|
| extra7 = McCartney
| length7 = 1:41
|
| extra8 = McCartney
| length8 = 1:46
|
| extra9 = Lennon
| length9 = 2:57
| total_length = 22:41
}}
{{Track listing
| headline
| extra_column = Lead vocals
| title1
| extra1 = McCartney with Lennon
| length1 = 2:42
| title2
| extra2 = Lennon
| length2 = 4:01
| title3
| extra3 = McCartney
| length3 = 2:48
| title4 = [[wikipedia:it:Everybody's Got Something to Hide Except Me and
| extra4 = Lennon
| length4 = 2:24
| title5
| extra5 = Lennon
| length5 = 3:15
| title6
| extra6 = McCartney
| length6 = 4:30
| title7
| note7
| extra7 = Harrison
| length7 = 3:08
| total_length = 22:48
}}
{{Track listing
| headline
| extra_column = Lead vocals
|
| extra1 = Lennon
| length1 = 4:15
|
| extra2 = McCartney
| length2 = 2:41
|
|
| extra3 = Harrison
| length3 = 2:54
|
| extra4 = Lennon, with McCartney
| length4 = 3:02
|
| extra5 = Speaking from Lennon, Harrison, Ono and George Martin
| length5 = 8:15
|
| extra6 = Starr
| length6 = 3:14
| total_length = 24:21
}}
====''[[wikipedia:it:Greatest Hits (Queen album)|Greatest Hits]]'' by [[wikipedia:it:Queen (band)|Queen]]====
Per-track notes and writing credits, ''total_length'' option:
Line 381 ⟶ 463:
| total_length = 58:44
| title1 = [[wikipedia:it:Bohemian Rhapsody|Bohemian Rhapsody]]
| note1 = from ''[[wikipedia:it:A Night at the Opera (Queen album)|A Night at the Opera]]'', 1975
| writer1 = [[wikipedia:it:Freddie Mercury|Freddie Mercury]]
| length1 = 5:55
| title2 = [[wikipedia:it:Another One Bites the Dust|Another One Bites the Dust]]
| note2 = from ''[[wikipedia:it:The Game (Queen album)|The Game]]'', 1980
| writer2 = [[wikipedia:it:John Deacon|John Deacon]]
| length2 = 3:36
| title3 = [[wikipedia:it:Killer Queen (song)|Killer Queen]]
| note3 = from ''[[wikipedia:it:Sheer Heart Attack|Sheer Heart Attack]]'', 1974
| writer3 = Mercury
| length3 = 2:57
| title4 = [[wikipedia:it:Fat Bottomed Girls|Fat Bottomed Girls]]
| note4 = single version, from ''[[wikipedia:it:Jazz (Queen album)|Jazz]]'', 1978
| writer4 = [[wikipedia:it:Brian May|Brian May]]
| length4 = 4:16
| title5 = [[wikipedia:it:Bicycle Race|Bicycle Race]]
| note5 = from ''Jazz'', 1978
| writer5 = Mercury
| length5 = 3:01
| title6 = [[wikipedia:it:You're My Best Friend (Queen song)|You're My Best Friend]]
| note6 = from ''A Night at the Opera'', 1975
| writer6 = Deacon
| length6 = 2:52
| title7 = [[wikipedia:it:Don't Stop Me Now|Don't Stop Me Now]]
| note7 = from ''Jazz'', 1978
| writer7 = Mercury
| length7 = 3:29
| title8 = [[wikipedia:it:Save Me (Queen song)|Save Me]]
| note8 = from ''The Game'', 1980
| writer8 = May
| length8 = 3:48
| title9 = [[wikipedia:it:Crazy Little Thing Called Love|Crazy Little Thing Called Love]]
| note9 = from ''The Game'', 1980
| writer9 = Mercury
| length9 = 2:42
| title10 = [[wikipedia:it:Somebody to Love (Queen song)|Somebody to Love]]
| note10 = from ''[[wikipedia:it:A Day at the Races (album)|A Day at the Races]]'', 1976
| writer10 = Mercury
| length10 = 4:56
| title11 = [[wikipedia:it:Now I'm Here|Now I'm Here]]
| note11 = from ''Sheer Heart Attack'', 1974
| writer11 = May
| length11 = 4:10
| title12 = [[wikipedia:it:Good Old-Fashioned Lover Boy|Good Old-Fashioned Lover Boy]]
| note12 = from ''A Day at the Races'', 1976
| writer12 = Mercury
| length12 = 2:54
| title13 = [[wikipedia:it:Play the Game (song)|Play the Game]]
| note13 = from ''The Game'', 1980
| writer13 = Mercury
| length13 = 3:33
| title14 = [[wikipedia:it:Flash (Queen song)|Flash]]
| note14 = single version, from ''[[wikipedia:it:Flash Gordon (album)|Flash Gordon]]'', 1980
| writer14 = May
| length14 = 2:48
| title15 = [[wikipedia:it:Seven Seas of Rhye|Seven Seas of Rhye]]
| note15 = from ''[[wikipedia:it:Queen II|Queen II]]'', 1974
| writer15 = Mercury
| length15 = 2:47
| title16 = [[wikipedia:it:We Will Rock You|We Will Rock You]]
| note16 = from ''[[wikipedia:it:News of the World (album)|News of the World]]'', 1977
| writer16 = May
| length16 = 2:01
| title17 = [[wikipedia:it:We Are the Champions|We Are the Champions]]
| note17 = from ''News of the World'', 1977
| writer17 = Mercury
Line 467 ⟶ 549:
}}
====''[[wikipedia:it:Smile (L'Arc-en-Ciel album)|Smile]]'' by [[wikipedia:it:L'Arc-en-Ciel|L'Arc-en-Ciel]]====
Individual per-track credits for music and lyrics, original song titles in the ''notes'' field:
Line 473 ⟶ 555:
| title1 = Kiss
| note1 = {{nihongo2|接吻}} ''Kuchizuke''
| lyrics1 = [[wikipedia:it:Hyde (musician)|Hyde]]
| music1 = [[wikipedia:it:Ken (musician)|Ken]]
| length1 = 4:25
| title2 = [[wikipedia:it:Ready Steady Go (L'Arc-en-Ciel song)|Ready Steady Go]]
| lyrics2 = Hyde
| music2 = [[wikipedia:it:Tetsuya (musician)|Tetsu]]
| length2 = 3:45
Line 510 ⟶ 592:
| title8 = Revelation
| lyrics8 = Hyde
| music8 = [[wikipedia:it:Yukihiro (musician)|Yukihiro]]
| length8 = 3:18
Line 531 ⟶ 613:
}}
====''[[wikipedia:it:Yeah! (Def Leppard album)|Yeah!]]'' by [[wikipedia:it:Def Leppard|Def Leppard]]====
Using the ''extra_column'' option to denote each song's original artist:
Line 537 ⟶ 619:
| extra_column = Original artist
| title1 = [[wikipedia:it:20th Century Boy|20th Century Boy]]
| writer1 = [[wikipedia:it:Marc Bolan|Marc Bolan]]
| extra1 = [[wikipedia:it:T. Rex (band)|T. Rex]]
| length1 = 3:41
| title2 = [[wikipedia:it:Rock On (Def Leppard song)|Rock On]]
| writer2 = [[wikipedia:it:David Essex|David Essex]]
| extra2 = David Essex
| length2 = 2:53
| title3 = [[wikipedia:it:Hanging on the Telephone|Hanging on the Telephone]]
| writer3 = [[wikipedia:it:Jack Lee (musician)|Jack Lee]]
| extra3 = [[wikipedia:it:The Nerves|The Nerves]]
| length3 = 2:23
| title4 = [[wikipedia:it:Waterloo Sunset|Waterloo Sunset]]
| writer4 = [[wikipedia:it:Ray Davies|Ray Davies]]
| extra4 = [[wikipedia:it:The Kinks|The Kinks]]
| length4 = 3:38
| title5 = Hell Raiser
| writer5 = [[wikipedia:it:Mike Chapman|Mike Chapman]], [[wikipedia:it:Nicky Chinn|Nicky Chinn]]
| extra5 = [[wikipedia:it:Sweet (band)|Sweet]]
| length5 = 3:20
| title6 = [[wikipedia:it:10538 Overture|10538 Overture]]
| writer6 = [[wikipedia:it:Jeff Lynne|Jeff Lynne]]
| extra6 = [[wikipedia:it:Electric Light Orchestra|Electric Light Orchestra]]
| length6 = 4:31
| title7 = [[wikipedia:it:Street Life (Roxy Music song)|Street Life]]
| writer7 = [[wikipedia:it:Bryan Ferry|Bryan Ferry]]
| extra7 = [[wikipedia:it:Roxy Music|Roxy Music]]
| length7 = 3:26
| title8 = [[wikipedia:it:Drive-In Saturday|Drive-In Saturday]]
| writer8 = [[wikipedia:it:David Bowie|David Bowie]]
| extra8 = David Bowie
| length8 = 4:07
| title9 = Little Bit of Love
| writer9 = [[wikipedia:it:Paul Rodgers|Paul Rodgers]], [[wikipedia:it:Paul Kossoff|Paul Kossoff]], [[wikipedia:it:Andy Fraser|Andy Fraser]], [[wikipedia:it:Simon Kirke|Simon Kirke]]
| extra9 = [[wikipedia:it:Free (band)|Free]]
| length9 = 2:34
| title10 = [[wikipedia:it:The Golden Age of Rock 'n' Roll|The Golden Age of Rock 'n' Roll]]
| writer10 = [[wikipedia:it:Ian Hunter (singer)|Ian Hunter]]
| extra10 = [[wikipedia:it:Mott the Hoople|Mott the Hoople]]
| length10 = 3:28
| title11 = [[wikipedia:it:No Matter What (Badfinger song)|No Matter What]]
| writer11 = [[wikipedia:it:Pete Ham|Pete Ham]]
| extra11 = [[wikipedia:it:Badfinger|Badfinger]]
| length11 = 2:57
| title12 = [[wikipedia:it:He's Gonna Step On You Again|He's Gonna Step on You Again]]
| writer12 = [[wikipedia:it:John Kongos|John Kongos]], [[wikipedia:it:Christos Demetriou|Christos Demetriou]]
| extra12 = John Kongos
| length12 = 4:05
| title13 = Don't Believe a Word
| writer13 = [[wikipedia:it:Phil Lynott|Phil Lynott]]
| extra13 = [[wikipedia:it:Thin Lizzy|Thin Lizzy]]
| length13 = 2:19
| title14 = [[wikipedia:it:Stay with Me (Faces song)|Stay with Me]]
| writer14 = [[wikipedia:it:Rod Stewart|Rod Stewart]], [[wikipedia:it:Ronnie Wood|Ronnie Wood]]
| extra14 = [[wikipedia:it:Faces (band)|Faces]]
| length14 = 4:30
}}
Line 610 ⟶ 692:
===Presets===
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.
* [[wikipedia:it:Template:Track listing/doc/preset1|Title, Length]] (with [[wikipedia:it:Template:Track listing/doc/preset1n|notes]]/[[wikipedia:it:Template:Track listing/doc/preset1e|extra column]]/[[wikipedia:it:Template:Track listing/doc/preset1ne|notes and extra column]])
* [[wikipedia:it:Template:Track listing/doc/preset2|Title, Writer(s), Length]] (with [[wikipedia:it:Template:Track listing/doc/preset2n|notes]]/[[wikipedia:it:Template:Track listing/doc/preset2e|extra column]]/[[wikipedia:it:Template:Track listing/doc/preset2ne|notes and extra column]])
* [[wikipedia:it:Template:Track listing/doc/preset3|Title, Lyrics, Length]] (with [[wikipedia:it:Template:Track listing/doc/preset3n|notes]]/[[wikipedia:it:Template:Track listing/doc/preset3e|extra column]])
* [[wikipedia:it:Template:Track listing/doc/preset4|Title, Music, Length]] (with [[wikipedia:it:Template:Track listing/doc/preset4n|notes]]/[[wikipedia:it:Template:Track listing/doc/preset4e|extra column]])
* [[wikipedia:it:Template:Track listing/doc/preset5|Title, Lyrics, Music, Length]] (with [[wikipedia:it:Template:Track listing/doc/preset5n|notes]]/[[wikipedia:it:Template:Track listing/doc/preset5e|extra column]])
===Tracking categories===
* {{clc|Pages using track listing with unknown parameters}}
* {{clc|Track listings that use the collapsed parameter}}
* {{clc|Track listings with deprecated parameters}}
* {{clc|Track listings with input errors}}
Previously this template used the parameters <code>writing_credits</code>, <code>lyrics_credits</code> and <code>music_credits</code> 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]].
Line 624 ⟶ 708:
===See also===
* {{tl|Infobox album}}
* {{tl|Infobox song}}
===TemplateData===
{{TemplateData header}}
{{collapse top|Show TemplateData}}
<templatedata>
{
"params": {
Line 740 ⟶ 821:
"label": "Title 2",
"description": "Title of track 2.",
"type": "line"
},
"note2": {
Line 751 ⟶ 831:
"label": "Length 2",
"description": "Length of track 2. Format is m:ss. (mm:ss or even h:mm:ss is fine for long tracks.)",
"type": "line"
},
"lyrics2": {
Line 777 ⟶ 856:
"label": "Title 3",
"description": "Title of track 3.",
"type": "line"
},
"note3": {
Line 788 ⟶ 866:
"label": "Length 3",
"description": "Length of track 3. Format is m:ss. (mm:ss or even h:mm:ss is fine for long tracks.)",
"type": "line"
},
"lyrics3": {
Line 814 ⟶ 891:
"label": "Title 4",
"description": "Title of track 4.",
"type": "line"
},
"note4": {
Line 825 ⟶ 901:
"label": "Length 4",
"description": "Length of track 4. Format is m:ss. (mm:ss or even h:mm:ss is fine for long tracks.)",
"type": "line"
},
"lyrics4": {
Line 851 ⟶ 926:
"label": "Title 5",
"description": "Title of track 5.",
"type": "line"
},
"note5": {
Line 862 ⟶ 936:
"label": "Length 5",
"description": "Length of track 5. Format is m:ss. (mm:ss or even h:mm:ss is fine for long tracks.)",
"type": "line"
},
"lyrics5": {
Line 888 ⟶ 961:
"label": "Title 6",
"description": "Title of track 6.",
"type": "line"
},
"note6": {
Line 899 ⟶ 971:
"label": "Length 6",
"description": "Length of track 6. Format is m:ss. (mm:ss or even h:mm:ss is fine for long tracks.)",
"type": "line"
},
"lyrics6": {
Line 925 ⟶ 996:
"label": "Title 7",
"description": "Title of track 7.",
"type": "line"
},
"note7": {
Line 936 ⟶ 1,006:
"label": "Length 7",
"description": "Length of track 7. Format is m:ss. (mm:ss or even h:mm:ss is fine for long tracks.)",
"type": "line"
},
"lyrics7": {
Line 962 ⟶ 1,031:
"label": "Title 8",
"description": "Title of track 8.",
"type": "line"
},
"note8": {
Line 973 ⟶ 1,041:
"label": "Length 8",
"description": "Length of track 8. Format is m:ss. (mm:ss or even h:mm:ss is fine for long tracks.)",
"type": "line"
},
"lyrics8": {
Line 999 ⟶ 1,066:
"label": "Title 9",
"description": "Title of track 9.",
"type": "line"
},
"note9": {
Line 1,010 ⟶ 1,076:
"label": "Length 9",
"description": "Length of track 9. Format is m:ss. (mm:ss or even h:mm:ss is fine for long tracks.)",
"type": "line"
},
"lyrics9": {
Line 1,036 ⟶ 1,101:
"label": "Title 10",
"description": "Title of track 10.",
"type": "line"
},
"note10": {
Line 1,047 ⟶ 1,111:
"label": "Length 10",
"description": "Length of track 10. Format is m:ss. (mm:ss or even h:mm:ss is fine for long tracks.)",
"type": "line"
},
"lyrics10": {
Line 1,425 ⟶ 1,488:
"suggested": true
},
},
},
},
},
}
},
"format": "block",
"description": "Generates a track listing for an album or other music recording.",
"paramOrder": [
"all_writing",
"all_lyrics",
"all_music",
"collapsed",
"headline",
"extra_column",
"title0",
"note0",
"length0",
"lyrics0",
"music0",
"writer0",
"extra0",
"title1",
"note1",
"length1",
"lyrics1",
"music1",
"writer1",
"extra1",
"title2",
"note2",
"length2",
"lyrics2",
"music2",
"writer2",
"extra2",
"title3",
"note3",
"length3",
"lyrics3",
"music3",
"writer3",
"extra3",
"title4",
"note4",
"length4",
"lyrics4",
"music4",
"writer4",
"extra4",
"title5",
"note5",
"length5",
"lyrics5",
"music5",
"writer5",
"extra5",
"title6",
"note6",
"length6",
"lyrics6",
"music6",
"writer6",
"extra6",
"title7",
"note7",
"length7",
"lyrics7",
"music7",
"writer7",
"extra7",
"title8",
"note8",
"length8",
"lyrics8",
"music8",
"writer8",
"extra8",
"title9",
"note9",
"length9",
"lyrics9",
"music9",
"writer9",
"extra9",
"title10",
"note10",
"length10",
"lyrics10",
"music10",
"writer10",
"extra10",
"title11",
"note11",
"length11",
"lyrics11",
"music11",
"writer11",
"extra11",
"title12",
"note12",
"length12",
"lyrics12",
"music12",
"writer12",
"extra12",
"title13",
"note13",
"length13",
"lyrics13",
"music13",
"writer13",
"extra13",
"title14",
"note14",
"length14",
"lyrics14",
"music14",
"writer14",
"extra14",
"title15",
"note15",
"length15",
"lyrics15",
"music15",
"writer15",
"extra15",
"title16",
"note16",
"length16",
"lyrics16",
"music16",
"writer16",
"extra16",
"title17",
"note17",
"length17",
"lyrics17",
"music17",
"writer17",
"extra17",
"title18",
"note18",
"length18",
"lyrics18",
"music18",
"writer18",
"extra18",
"title19",
"note19",
"length19",
"lyrics19",
"music19",
"writer19",
"extra19",
"title20",
"note20",
"length20",
"lyrics20",
"music20",
"writer20",
"extra20",
"total_length",
"title_width",
"writing_width",
"music_width",
"lyrics_width",
"extra_width"
]
}
</templatedata>
{{collapse bottom}}
|