Template:Tracklist: Difference between revisions
Jump to navigation
Jump to search
(add to cat) |
(`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) |
||
Line 4: | Line 4: | ||
!style="min-width: 230px;" {{!}} Title | !style="min-width: 230px;" {{!}} Title | ||
!Length | !Length | ||
{{{list| | {{{0|{{{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 | 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| | {{Tracklist| | ||
{{tl track|1|Track 1 |length=5:00}} | {{tl track|1|Track 1 |length=5:00}} | ||
{{tl track|2|Track 2 |length=5:00}} | {{tl track|2|Track 2 |length=5:00}} |
Revision as of 13:34, 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}} }}