Difference between revisions of "Tracklist"

From Sega Retro

 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div class="tracklist">{{let|time=0|num=1|side=}}
+
<includeonly><div class="tracklist">{{let|time=0|num=1|side=|tracklistconsole={{{console|}}}|tracklistpdf={{first|{{{pdf|}}}|{{{file|}}}}}|tracklistpdfpage={{{pdfpage|}}}|creditsheaderfontfix=true}}
 
{{{1|}}}
 
{{{1|}}}
{{#switch:{{#var:time}}|0=[[Category:Unknown running time]]|#default=<div style="text-align:left; border-top:solid 1px #DDDDDD;"> ► '''Running time: {{time|{{#var:time}}}}'''</div>}}</div></includeonly><noinclude>
+
{{#switch:{{#var:time}}|0=[[Category:Unknown running time]]|#default=<div style="text-align:left; border-top:solid 1px #DDDDDD;">► '''Running time: {{time|{{#var:time}}}}'''</div>}}{{clearvar|creditsheaderfontfix|lastcreditsheader}}</div></includeonly><noinclude>
 
==Usage==
 
==Usage==
 
<pre>
 
<pre>
Line 38: Line 38:
 
{{track|Track title 2}}
 
{{track|Track title 2}}
 
}}
 
}}
[[Category:Sega Retro templates]]
+
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 03:20, 7 December 2022

Usage

{{tracklist|
{{track|Track title|time=1:23|artist=Artist name}}
}}

returns:

1. Artist name — Track title (1:23) 
Running time: 1:23


{{tracklist|
{{track|Track title|side=A}}
{{track|Track title 2}}
}}

returns:

A1. Track title  
A2. Track title 2  


{{tracklist|
{{track|Track title|track=99}}
{{track|Track title 2}}
}}

returns:

99. Track title  
100. Track title 2