Jump to content

Template:Track listing/testcases: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Collapsed: remove these; there were already tests for these above that I missed
start adding some systematic test cases
Line 1: Line 1:
{{Template test cases notice}}
{{Template test cases notice}}

== Standard tests ==

{{test case nowiki|title=Blank|showcode=yes|collapsible=yes|code=<nowiki>{{__TEMPLATENAME__}}</nowiki>}}

{{test case nowiki|title=One track|showcode=yes|collapsible=yes|code=<nowiki>{{__TEMPLATENAME__
| title1 = [[Back in the U.S.S.R.]]
| length1 = 2:43
}}</nowiki>}}

{{test case nowiki|title=Two tracks|showcode=yes|collapsible=yes|code=<nowiki>{{__TEMPLATENAME__
| title1 = [[Back in the U.S.S.R.]]
| length1 = 2:43

| title2 = [[Dear Prudence]]
| length2 = 3:56
}}</nowiki>}}

{{test case nowiki|title=One track, title only|showcode=yes|collapsible=yes|code=<nowiki>{{__TEMPLATENAME__
| title1 = [[Back in the U.S.S.R.]]
}}</nowiki>}}

{{test case nowiki|title=One track, length only|showcode=yes|collapsible=yes|code=<nowiki>{{__TEMPLATENAME__
| length1 = 2:43
}}</nowiki>}}

{{test case nowiki|title=One track, collapsed|showcode=yes|collapsible=yes|code=<nowiki>{{__TEMPLATENAME__
| collapsed = yes
| title1 = [[Back in the U.S.S.R.]]
| length1 = 2:43
}}</nowiki>}}

{{test case nowiki|title=Headline|showcode=yes|collapsible=yes|code=<nowiki>{{__TEMPLATENAME__
| headline = Side one
| title1 = [[Back in the U.S.S.R.]]
| length1 = 2:43
}}</nowiki>}}



==The ''collapsed'' and ''headline'' options, general songwriting credits==
==The ''collapsed'' and ''headline'' options, general songwriting credits==

Revision as of 02:30, 7 December 2016

Standard tests

Blank
{{Track listing}}

{{Track listing}}

No.TitleLength

{{Track listing/sandbox}}

No.TitleLength
One track
{{Track listing
| title1          = [[Back in the U.S.S.R.]]
| length1         = 2:43
}}

{{Track listing}}

No.TitleLength
1."Back in the U.S.S.R."2:43

{{Track listing/sandbox}}

No.TitleLength
1."Back in the U.S.S.R."2:43
Two tracks
{{Track listing
| title1          = [[Back in the U.S.S.R.]]
| length1         = 2:43

| title2          = [[Dear Prudence]]
| length2         = 3:56
}}

{{Track listing}}

No.TitleLength
1."Back in the U.S.S.R."2:43
2."Dear Prudence"3:56

{{Track listing/sandbox}}

No.TitleLength
1."Back in the U.S.S.R."2:43
2."Dear Prudence"3:56
One track, title only
{{Track listing
| title1          = [[Back in the U.S.S.R.]]
}}

{{Track listing}}

No.TitleLength
1."Back in the U.S.S.R." 

{{Track listing/sandbox}}

No.TitleLength
1."Back in the U.S.S.R." 
One track, length only
{{Track listing
| length1         = 2:43
}}

{{Track listing}}

No.TitleLength
1.Untitled2:43

{{Track listing/sandbox}}

No.TitleLength
1.Untitled2:43
One track, collapsed
{{Track listing
| collapsed       = yes
| title1          = [[Back in the U.S.S.R.]]
| length1         = 2:43
}}

{{Track listing}}

No.TitleLength
1."Back in the U.S.S.R."2:43

{{Track listing/sandbox}}

No.TitleLength
1."Back in the U.S.S.R."2:43
Headline
{{Track listing
| headline        = Side one
| title1          = [[Back in the U.S.S.R.]]
| length1         = 2:43
}}

{{Track listing}}

Side one
No.TitleLength
1."Back in the U.S.S.R."2:43

{{Track listing/sandbox}}

Side one
No.TitleLength
1."Back in the U.S.S.R."2:43


The collapsed and headline options, general songwriting credits

Current

All tracks are written by Lennon/McCartney, except where noted

Side one
No.TitleLength
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
Side two
No.TitleLength
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" (Ringo Starr)3:50
15."Why Don't We Do It in the Road?"1:40
16."I Will"1:45
17."Julia"2:54

Sandbox

All tracks are written by Lennon/McCartney, except where noted

Side one
No.TitleLength
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
Side two
No.TitleLength
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" (Ringo Starr)3:50
15."Why Don't We Do It in the Road?"1:40
16."I Will"1:45
17."Julia"2:54

Sandbox2

Template:Track listing/sandbox2

Template:Track listing/sandbox2

Per-track notes and writing credits, total_length option:

Current

1981 UK edition
No.TitleWriter(s)Length
1."Bohemian Rhapsody" (from A Night at the Opera, 1975)Freddie Mercury5:55
2."Another One Bites the Dust" (from The Game, 1980)John Deacon3:36
3."Killer Queen" (from Sheer Heart Attack, 1974)Mercury2:57
4."Fat Bottomed Girls" (single version, from Jazz, 1978)Brian May4:16
5."Bicycle Race" (from Jazz, 1978)Mercury3:01
6."You're My Best Friend" (from A Night at the Opera, 1975)Deacon2:52
7."Don't Stop Me Now" (from Jazz, 1978)Mercury3:29
8."Save Me" (from The Game, 1980)May3:48
9."Crazy Little Thing Called Love" (from The Game, 1980)Mercury2:42
Total length:57:20

Sandbox

1981 UK edition
No.TitleWriter(s)Length
1."Bohemian Rhapsody" (from A Night at the Opera, 1975)Freddie Mercury5:55
2."Another One Bites the Dust" (from The Game, 1980)John Deacon3:36
3."Killer Queen" (from Sheer Heart Attack, 1974)Mercury2:57
4."Fat Bottomed Girls" (single version, from Jazz, 1978)Brian May4:16
5."Bicycle Race" (from Jazz, 1978)Mercury3:01
6."You're My Best Friend" (from A Night at the Opera, 1975)Deacon2:52
7."Don't Stop Me Now" (from Jazz, 1978)Mercury3:29
8."Save Me" (from The Game, 1980)May3:48
9."Crazy Little Thing Called Love" (from The Game, 1980)Mercury2:42
Total length:57:20

Sandbox2

Template:Track listing/sandbox2

Individual per-track credits for music and lyrics, original song titles in the notes field

Current

No.TitleLyricsMusicLength
1."Kiss" (接吻 Kuchizuke)HydeKen4:25
2."Ready Steady Go"HydeTetsu3:45
3."Lover Boy"KenKen4:45
4."Feeling Fine"HydeKen4:17
5."Time Goes On"TetsuTetsu4:44
6."Coming Closer"HydeKen5:14
7."Forever" (永遠 Eien)HydeHyde4:39
8."Revelation"HydeYukihiro3:18
9."Living in Your Eyes" (瞳の住人 Hitomi no Jyūnin)HydeTetsu5:55
10."Spirit Dreams Inside -Another Dream-"HydeHyde3:47
11."Ready Steady Go (Hydeless Version)" (US release only)HydeTetsu3:47

Sandbox

No.TitleLyricsMusicLength
1."Kiss" (接吻 Kuchizuke)HydeKen4:25
2."Ready Steady Go"HydeTetsu3:45
3."Lover Boy"KenKen4:45
4."Feeling Fine"HydeKen4:17
5."Time Goes On"TetsuTetsu4:44
6."Coming Closer"HydeKen5:14
7."Forever" (永遠 Eien)HydeHyde4:39
8."Revelation"HydeYukihiro3:18
9."Living in Your Eyes" (瞳の住人 Hitomi no Jyūnin)HydeTetsu5:55
10."Spirit Dreams Inside -Another Dream-"HydeHyde3:47
11."Ready Steady Go (Hydeless Version)" (US release only)HydeTetsu3:47

Sandbox2

Template:Track listing/sandbox2

Using the extra_column option to denote each song's original artist

Current

Sandbox

Sandbox2

Template:Track listing/sandbox2

Title, writer, length, notes

Current

Disc one
No.TitleWriter(s)Length
1."Good Times Bad Times" (from Led Zeppelin, 1969)Bonham, Jones, Page2:48
2."Communication Breakdown" (from Led Zeppelin, 1969)Bonham, Jones, Page2:30
3."Dazed and Confused" (from Led Zeppelin, 1969)Page6:27
4."Babe I'm Gonna Leave You" (from Led Zeppelin, 1969)Bredon, Page, Plant6:42
Disc two
No.TitleWriter(s)Length
1."The Song Remains the Same" (from Houses of the Holy, 1973)Page, Plant5:31
2."Over the Hills and Far Away" (from Houses of the Holy, 1973)Page, Plant4:50

Sandbox

Disc one
No.TitleWriter(s)Length
1."Good Times Bad Times" (from Led Zeppelin, 1969)Bonham, Jones, Page2:48
2."Communication Breakdown" (from Led Zeppelin, 1969)Bonham, Jones, Page2:30
3."Dazed and Confused" (from Led Zeppelin, 1969)Page6:27
4."Babe I'm Gonna Leave You" (from Led Zeppelin, 1969)Bredon, Page, Plant6:42
Disc two
No.TitleWriter(s)Length
1."The Song Remains the Same" (from Houses of the Holy, 1973)Page, Plant5:31
2."Over the Hills and Far Away" (from Houses of the Holy, 1973)Page, Plant4:50

Sandbox2

Template:Track listing/sandbox2 Template:Track listing/sandbox2

Example with infobox/image to the right

Current

Column 1 Column 2
Row 1 label: Row 1 data
 
Row 2 label: Row 2 data
 
The Beatles & singer Lill-Babs.
Disc one
No.TitleWriter(s)Length
1."Good Times Bad Times" (from Led Zeppelin, 1969)Bonham, Jones, Page2:48
2."Communication Breakdown" (from Led Zeppelin, 1969)Bonham, Jones, Page2:30
3."Dazed and Confused" (from Led Zeppelin, 1969)Page6:27
4."Babe I'm Gonna Leave You" (from Led Zeppelin, 1969)Bredon, Page, Plant6:42
Disc two
No.TitleWriter(s)Length
1."The Song Remains the Same" (from Houses of the Holy, 1973)Page, Plant5:31
2."Over the Hills and Far Away" (from Houses of the Holy, 1973)Page, Plant4:50

Sandbox

Column 1 Column 2
Row 1 label: Row 1 data
 
Row 2 label: Row 2 data
 
The Beatles & singer Lill-Babs.
Disc one
No.TitleWriter(s)Length
1."Good Times Bad Times" (from Led Zeppelin, 1969)Bonham, Jones, Page2:48
2."Communication Breakdown" (from Led Zeppelin, 1969)Bonham, Jones, Page2:30
3."Dazed and Confused" (from Led Zeppelin, 1969)Page6:27
4."Babe I'm Gonna Leave You" (from Led Zeppelin, 1969)Bredon, Page, Plant6:42
Disc two
No.TitleWriter(s)Length
1."The Song Remains the Same" (from Houses of the Holy, 1973)Page, Plant5:31
2."Over the Hills and Far Away" (from Houses of the Holy, 1973)Page, Plant4:50

Sandbox2

Column 1 Column 2
Row 1 label: Row 1 data
 
Row 2 label: Row 2 data
 
The Beatles & singer Lill-Babs.

Template:Track listing/sandbox2 Template:Track listing/sandbox2

New headline params

All lyrics are written by Roger Waters

Old headline
No.TitleMusicLead vocalsLength
1."Pigs on the Wing (Part I)"WatersWaters1:25
2."Dogs"David Gilmour, WatersGilmour, Waters17:03
Total length:18:28

All lyrics are written by Roger Waters

No.TitleMusicLead vocalsLength
1."Pigs on the Wing (Part I)"WatersWaters1:25
2."Dogs"David Gilmour, WatersGilmour, Waters17:03
Total length:18:28

All lyrics are written by Roger Waters

No.TitleMusicLead vocalsLength
1."Pigs on the Wing (Part I)"WatersWaters1:25
2."Dogs"David Gilmour, WatersGilmour, Waters17:03
Total length:18:28

All lyrics are written by Roger Waters

No.TitleMusicLead vocalsLength
1."Pigs on the Wing (Part I)"WatersWaters1:25
2."Dogs"David Gilmour, WatersGilmour, Waters17:03
Total length:18:28

All lyrics are written by Roger Waters

No.TitleMusicLead vocalsLength
1."Pigs on the Wing (Part I)"WatersWaters1:25
2."Dogs"David Gilmour, WatersGilmour, Waters17:03
Total length:18:28