Template:Tracklist: Difference between revisions
Jump to navigation
Jump to search
(testing min width) |
(SHIT, positional arguments arent 0-indexed) |
||
| (13 intermediate revisions by 2 users not shown) | |||
| Line 2: | Line 2: | ||
|+ | |+ | ||
!# | !# | ||
style="min-width: | !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> | ||
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: | |||
<pre> | |||
{{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}} | |||
}} | |||
</pre> | |||
[[Category:Templates]] | |||
</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}}
}}