Jump to content

Template:Track/doc

From SiIvaGunner Wiki
Not to be confused with Template:Infobox track.
Description
Provides a way to format rows in the "Track list" table on album articles. This template should only be used within tables.
Usage

When creating a table for the tracks on an album page, first insert the following code onto the page:

{|class="article-table"
{{Track}}
|}

Then for every track, insert {{Track|<Number>|<Title>|<Ripper(s)>|<Length>}}, between the {{Track}} and the |}. Each should be on a different line.

Examples
{|class="article-table"
{{Track}}
|}
No. Title Ripper(s) Length
{|class="article-table"
{{Track}}
{{Track|1|Title 1|Ripper 1|0:01}}
{{Track|2|Title 2|Ripper 2|0:02}}
{{Track|3|Title 3|Ripper 3|0:03}}
|}
No. Title Ripper(s) Length
1. "Title 1" Ripper 1 0:01
2. "Title 2" Ripper 2 0:02
3. "Title 3" Ripper 3 0:03
{|class="article-table"
{{Track}}{{Track|1|Title 1|Ripper 1|0:01}}{{Track|2|Title 2|Ripper 2|0:02}}{{Track|3|Title 3|Ripper 3|0:03}}
|}
No. Title Ripper(s) Length|- 1. "Title 1" Ripper 1 0:01|- 2. "Title 2" Ripper 2 0:02|- 3. "Title 3" Ripper 3 0:03
The last example is why you need to add linebreaks between each {{Track}}.

Template Data

Formats rows in the track list table of album pages.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Track number1

The number of this track

Example
7
Numberrequired
Title2

Title of the track. Use a page link if possible. No quotation marks.

Example
Neo Gangnam Town
Stringrequired
Ripper(s)3

The ripper or rippers of the track. Use link(s) if possible.

Contentrequired
Length4

The time length of the track.

Example
1:23
Contentrequired

Debug data: