Template:Extra track listing/doc

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
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
{{Infobox song ... | album     = | type      = | prev_track = | track     = | track_no  = | next_track = }} {{clear}}
 * misc       = {{subst:Extra track listing


 * 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,  or.
 * type : Enter the same type specified in the {{tl|Infobox song}} parameter {{para|type}}; {{para|type|song}} generates a light blue background, {{para|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 {{para|misc}} field. It will not work in {{para|tracks}}.

TemplateData
{	"params": { "prev_no": { "label": "Prev_no", "type": "number", "deprecated": "generated from track_no" },		"track_no": { "label": "Track_no", "description": "sequence number of the current or article track", "type": "number", "required": true },		"next_no": { "label": "Next_no", "type": "number", "deprecated": "generated from track_no" },		"track": { "aliases": [ "this_track" ],			"label": "Track", "description": "name of the current or article track", "type": "string", "required": true },		"prev_track": { "label": "Prev_track", "description": "name of the preceding album/EP track", "type": "string" },		"next_track": { "label": "Next_track", "description": "name of the next album/EP track", "type": "string" },		"type": { "aliases": [ "Type" ],			"label": "Type", "description": "sets the header color", "example": "Song, single, etc.", "default": "peachpuff", "required": true },		"altalbum": { "aliases": [ "altAlbum" ],			"label": "Altalbum", "type": "string", "deprecated": "covers no longer in infobox" },		"length": { "aliases": [ "Length" ],			"label": "Length", "type": "number", "deprecated": "covers no longer in infobox" },		"label": { "aliases": [ "Label" ],			"label": "Label", "type": "string", "deprecated": "covers no longer in infobox" },		"tracks": { "aliases": [ "Tracks" ],			"label": "Tracks", "type": "string", "deprecated": true },		"album": { "aliases": [ "Album", "chronology", "Chronology" ],			"label": "Album", "description": "name of the album or EP", "example": "track listing is automatically added after", "type": "string", "required": true }	},	"description": "For use with – adds an extra partial album track listing showing the preceding and following album or EP tracks.", "paramOrder": [ "album", "type", "prev_track", "track", "track_no", "next_track", "prev_no", "next_no", "altalbum", "length", "label", "tracks" ] }