Template documentation follows |
---|
Note: the template above may sometimes be partially or fully invisible. |
Visit Template:Track/doc to edit this documentation. (How does this work?) |
- 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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Track number | 1 | The number of this track
| Number | required |
Title | 2 | Title of the track. Use a page link if possible. No quotation marks.
| String | required |
Ripper(s) | 3 | The ripper or rippers of the track. Use link(s) if possible. | Content | required |
Length | 4 | The time length of the track.
| Content | required |