Template:Tracklist: Difference between revisions

From aepages
Jump to navigation Jump to search
(`list` works fine, but its the only named argument and its use is obvious at a glance so i dont think it needs to be named)
(SHIT, positional arguments arent 0-indexed)
 
Line 4: Line 4:
!style="min-width: 230px;" {{!}} Title
!style="min-width: 230px;" {{!}} Title
!Length
!Length
{{{0|{{{list|
{{{1|{{{list|
{{tl section|section=SECTION}}
{{tl section|section=SECTION}}
{{tl track|number=1|title=track|length=0:00}}
{{tl track|number=1|title=track|length=0:00}}

Latest revision as of 14:35, 23 August 2024

# Title Length
SECTION
1 track 0:00
0:00
Total 0:00

Use the first parameter to control how the tracklist is laid out. You can use sections, track names, total runtime, and final runtime (i.e. including bonus tracks).

Example:

{{Tracklist|
{{tl track|1|Track 1    |length=5:00}}
{{tl track|2|Track 2    |length=5:00}}
{{tl total|10:00}}
{{tl track|3|Bonus track|length=2:50}}
{{tl finaltime|12:50}}
}}