Template:Extra track listing/doc
This is a documentation subpage for Template:Extra track listing. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
A listing of the songs on an album or EP is usually done using the |tracks=
field of {{Infobox song}}; for details, please see the infobox track listing examples. However, if the infobox |chronology=
prevents its use, this template should be used instead to add a track listing.
Please note: track listings should not be added to infoboxes if there is a navigation template or navbox at the bottom of the article which already lists the songs.
Code
[edit]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.
That Album track listing | |
---|---|
(tracks here) | |
{{Infobox song
...
| misc = {{Extra track listing
| album =
| type =
| tracks = (tracks here)
}}
Parameters
[edit]album
[edit]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
[edit]Enter song
for all Infobox song types to generate a light blue background; for singles, enter single
for khaki.
tracks
[edit]Add the template that has the album track listing, such as {{Rumours tracks}}, {{Nevermind tracks}}, etc.
Notes
[edit]This template is for use in the |misc=
field. It will not work in infobox song |tracks=
.
TemplateData
[edit]TemplateData for Extra track listing
For use with {{Infobox song}} – adds an extra track listing showing the album or EP tracks.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Album | album | Name of the album or EP. Track listing is automatically added after | String | required |
Type | type | Sets the header color. Song, single, etc.
| Line | required |
Tracks | tracks | Add the track listing template for the album or EP here | String | required |
chronology | chronology | no description | Line | deprecated |
Tracking categories
[edit]- Category:Music infoboxes with malformed table placement (1)
- Category:Pages using extra track listing with unknown parameters (0)
- Category:Pages using extra track listing with no tracks (4)