Template:Extra track listing

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

Extra track listings may be added to {{Infobox song}}. It is used to display the preceding and succeeding track names and numbers on the album or EP on which the song originally appears. This template should not be used if there is a navigation template or navbox at the bottom of the article which already lists the songs. For other options, please see Track listing examples.

Usage[change source]

This template is used with the |misc= parameter of the infobox template. It should not be used on its own. If this template is substituted, it will return a cleaned-up copy of itself with unnecessary parameters removed and deprecated parameters replaced. Parameter indentation will also automatically be fixed.

Code[change source]

That Album track listing
"Track one"
(1)
"Track two"
(2)
"Track three"
(3)
{{Infobox song
...
| misc        = {{subst:Extra track listing
 | album      =
 | type       = 
 | prev_track =
 | track      =
 | track_no   =
 | next_track =
 }}
album 
Enter the name of the album or EP to produce the header. It will be generated using italics followed by "track listing"; for example, That Album track listing or What EP track listing.
type 
Enter the same type specified in the {{Infobox song}} parameter |type=; |type=song generates a light blue background, |type=single a khaki.
prev_track 
Enter the name of the previous track. Quote marks will be added automatically. If it has a WP article, add a link. Leave this blank if the current track is the first track.
track 
Enter the name of the current or article track; quotes and bold will be added automatically. This is not wikilinked, since it is the subject of the article.
track_no 
Add the number of the current track, as it appears on the album or EP.
next_track 
Enter the name of the next track. Quote marks will be added automatically. If it has a article, add a link. If the current track is the last track, leave this blank.
Notes 
This template is for use in the |misc= field. It will not work in |tracks=.

TemplateData[change source]

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

TemplateData for Extra track listing

For use with {{Infobox song}} – adds an extra partial album track listing showing the preceding and following album or EP tracks.

Template parameters

ParameterDescriptionTypeStatus
AlbumalbumAlbumchronologyChronology

name of the album or EP

Example
track listing is automatically added after
Stringrequired
TypetypeType

sets the header color

Default
peachpuff
Example
Song, single, etc.
Unknownrequired
Prev_trackprev_track

name of the preceding album/EP track

Stringoptional
Tracktrackthis_track

name of the current or article track

Stringrequired
Track_notrack_no

sequence number of the current or article track

Numberrequired
Next_tracknext_track

name of the next album/EP track

Stringoptional
Prev_noprev_no

no description

Numberdeprecated
Next_nonext_no

no description

Numberdeprecated
AltalbumaltalbumaltAlbum

no description

Stringdeprecated
LengthlengthLength

no description

Numberdeprecated
LabellabelLabel

no description

Stringdeprecated
TrackstracksTracks

no description

Stringdeprecated

Tracking categories[change source]