• Home
  • Random
  • Log in
  • Settings
  • About English Wikipedia @ Freddythechick
English Wikipedia @ Freddythechick

Template:Extra track listing/sandbox

  • Language
  • Watch
  • View source
< Template:Extra track listing
__EXPECTUNUSEDTEMPLATE__This is the template sandbox page for Template:Extra track listing (diff).
See also the companion subpage for test cases.
Template documentation[view] [edit] [history] [purge]
This template uses Lua:
  • Module:Check for unknown parameters (sandbox)

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.

Contents

  • 1 Code
  • 2 Parameters
    • 2.1 album
    • 2.2 type
    • 2.3 tracks
  • 3 Notes
  • 4 TemplateData
  • 5 Tracking categories

Code

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)

<syntaxhighlight lang="wikitext" style="overflow:auto;">{{Infobox song ...

| misc = (tracks here)</syntaxhighlight>

Parameters

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 song for all Infobox song types to generate a light blue background; for singles, enter single for khaki.

tracks

Add the template that has the album track listing, such as {{Rumours tracks}}, {{Nevermind tracks}}, etc.

Notes

This template is for use in the |misc= field. It will not work in infobox song |tracks=.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Extra track listing in articles based on its TemplateData.

TemplateData for Extra track listing

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

Template parameters

ParameterDescriptionTypeStatus
Albumalbum

Name of the album or EP. Track listing is automatically added after

Stringrequired
Typetype

Sets the header color. Song, single, etc.

Default
peachpuff
Linerequired
Trackstracks

Add the track listing template for the album or EP here

Stringrequired
chronologychronology

no description

Linedeprecated

Tracking categories

  • Category:Music infoboxes with malformed table placement (48)
  • Category:Pages using extra track listing with unknown parameters (0)
  • Category:Pages using extra track listing with no tracks (3)
The above documentation is transcluded from Template:Extra track listing/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://enwiki.freddythechick.net/index.php?title=Template:Extra_track_listing/sandbox&oldid=2758288"
Last edited on 14 April 2022, at 15:02

Languages

      This page is not available in other languages.

      English Wikipedia @ Freddythechick
      • This page was last edited on 14 April 2022, at 15:02.
      • Content is available under Creative Commons Attribution-ShareAlike 4.0 unless otherwise noted.
      • About English Wikipedia @ Freddythechick
      • Desktop