Template:Tracklist: Difference between revisions

From aepages
Jump to navigation Jump to search
(add documentation)
(SHIT, positional arguments arent 0-indexed)
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
!style="min-width: 230px;" {{!}} Title
!style="min-width: 230px;" {{!}} Title
!Length
!Length
{{{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}}
{{tl total|time=0:00}}
{{tl total|time=0:00}}
{{tl finaltime|time=0:00}}
{{tl finaltime|time=0:00}}
}}}
}}}}}}
{{!}}}<noinclude>
{{!}}}<noinclude>
Use the <code>list</code> parameter to control how the tracklist is laid out. You can use [[Template:tl section|sections]], [[Template:tl track|track names]], [[Template:tl total|total runtime]], and [[Template:tl finaltime|final runtime]] (i.e. including bonus tracks).
Use the first parameter to control how the tracklist is laid out. You can use [[Template:tl section|sections]], [[Template:tl track|track names]], [[Template:tl total|total runtime]], and [[Template:tl finaltime|final runtime]] (i.e. including bonus tracks).


Example:
Example:
<pre>
<pre>
{{Tracklist|list=
{{Tracklist|
{{tl track|number=1|title=Track 1|length=5:00}}
{{tl track|1|Track 1   |length=5:00}}
{{tl track|number=2|title=Track 2|length=5:00}}
{{tl track|2|Track 2   |length=5:00}}
{{tl total|time=10:00}}
{{tl total|10:00}}
{{tl track|number=3|title=Bonus track|length=2:50}}
{{tl track|3|Bonus track|length=2:50}}
{{tl finaltime|time=12:50}}
{{tl finaltime|12:50}}
}}
}}
</pre>
</pre>
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 13: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}}
}}