Template:Extra track listing/doc
This is a documentation subpage for Template:Extra track listing. It contains usage information, categories, interlanguage links and other content that is not part of the original template page. |
40x40px | This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here. |
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
That Album track listing | ||||
---|---|---|---|---|
| ||||
{{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
orWhat 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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Album | album Album chronology Chronology | name of the album or EP
| String | required |
Type | type Type | sets the header color
| Unknown | required |
Prev_track | prev_track | name of the preceding album/EP track | String | optional |
Track | track this_track | name of the current or article track | String | required |
Track_no | track_no | sequence number of the current or article track | Number | required |
Next_track | next_track | name of the next album/EP track | String | optional |
Prev_no | prev_no | no description | Number | deprecated |
Next_no | next_no | no description | Number | deprecated |
Altalbum | altalbum altAlbum | no description | String | deprecated |
Length | length Length | no description | Number | deprecated |
Label | label Label | no description | String | deprecated |
Tracks | tracks Tracks | no description | String | deprecated |
Tracking categories
- Category:Music infoboxes with malformed table placement (0)
- Category:Music infoboxes with deprecated parameters (3)
- Category:Pages using extra track listing with no tracks (2)