Difference between revisions of "Template:Tracklist"

From Highway 0, the Kentucky Route Zero wiki
Jump to navigation Jump to search
(Created page with "<includeonly><table cellpadding="0" style="width: 100%; border-width: 0px; border-collapse: collapse;"> <th style="text-align: center; background-color: #ddd;" colspan="3">''{...")
 
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><table cellpadding="0" style="width: 100%; border-width: 0px; border-collapse: collapse;">
+
<includeonly><div style="display: table; width: 100%; border-left: 2px solid #d5d5d5; border-right: 2px solid #d5d5d5; border-bottom: 2px solid #d5d5d5;"><table cellpadding="0" style="width: 100%; border: 1px solid #d5d5d5; border-collapse: collapse;">
<th style="text-align: center; background-color: #ddd;" colspan="3">''{{{title | Album title}}}''</th>
+
{{#if: {{{title|}}}|<th style="text-align: center; background-color: #d5d5d5;" colspan="3">''{{{title | Album title}}}''</th>}}
 +
</table>
  
 
<table cellpadding="0" style="width: calc(100% - {{{artwidth|200}}}px); -moz-width: calc(100% - {{{artwidth|200}}}px); -webkit-width: calc(100% - {{{artwidth|200}}}px); border-width: 0px; border-collapse: collapse; float: left;">
 
<table cellpadding="0" style="width: calc(100% - {{{artwidth|200}}}px); -moz-width: calc(100% - {{{artwidth|200}}}px); -webkit-width: calc(100% - {{{artwidth|200}}}px); border-width: 0px; border-collapse: collapse; float: left;">
Line 8: Line 9:
 
<th style="width: 4em; padding-right: 10px; text-align: right;">Length</th>
 
<th style="width: 4em; padding-right: 10px; text-align: right;">Length</th>
 
</tr>
 
</tr>
{{Tracklist/Track | 1| {{{title1|}}} | {{{length1}}} }}
+
{{Tracklist/Track|1|{{{title1|}}}|{{{note1|}}}|{{{length1|}}}}}
{{Tracklist/Track | 2| {{{title2|}}} | {{{length2}}} }}
+
{{Tracklist/Track|2|{{{title2|}}}|{{{note2|}}}|{{{length2|}}}}}
{{Tracklist/Track | 3| {{{title3|}}} | {{{length3}}} }}
+
{{Tracklist/Track|3|{{{title3|}}}|{{{note3|}}}|{{{length3|}}}}}
{{Tracklist/Track | 4| {{{title4|}}} | {{{length4}}} }}
+
{{Tracklist/Track|4|{{{title4|}}}|{{{note4|}}}|{{{length4|}}}}}
{{Tracklist/Track | 5| {{{title5|}}} | {{{length5}}} }}
+
{{Tracklist/Track|5|{{{title5|}}}|{{{note5|}}}|{{{length5|}}}}}
{{Tracklist/Track | 6| {{{title6|}}} | {{{length6}}} }}
+
{{Tracklist/Track|6|{{{title6|}}}|{{{note6|}}}|{{{length6|}}}}}
{{Tracklist/Track | 7| {{{title7|}}} | {{{length7}}} }}
+
{{Tracklist/Track|7|{{{title7|}}}|{{{note7|}}}|{{{length7|}}}}}
{{Tracklist/Track | 8| {{{title8|}}} | {{{length8}}} }}
+
{{Tracklist/Track|8|{{{title8|}}}|{{{note8|}}}|{{{length8|}}}}}
{{Tracklist/Track | 9| {{{title9|}}} | {{{length9}}} }}
+
{{Tracklist/Track|9|{{{title9|}}}|{{{note9|}}}|{{{length9|}}}}}
{{Tracklist/Track | 10| {{{title10|}}} | {{{length10}}} }}
+
{{Tracklist/Track|10|{{{title10|}}}|{{{note10|}}}|{{{length10|}}}}}
 +
{{Tracklist/Track|11|{{{title11|}}}|{{{note11|}}}|{{{length11|}}}}}
 +
{{Tracklist/Track|12|{{{title12|}}}|{{{note12|}}}|{{{length12|}}}}}
 +
{{Tracklist/Track|13|{{{title13|}}}|{{{note13|}}}|{{{length13|}}}}}
 +
{{Tracklist/Track|14|{{{title14|}}}|{{{note14|}}}|{{{length14|}}}}}
 +
{{Tracklist/Track|15|{{{title15|}}}|{{{note15|}}}|{{{length15|}}}}}
 +
{{Tracklist/Track|16|{{{title16|}}}|{{{note16|}}}|{{{length16|}}}}}
 +
{{Tracklist/Track|17|{{{title17|}}}|{{{note17|}}}|{{{length17|}}}}}
 +
{{Tracklist/Track|18|{{{title18|}}}|{{{note18|}}}|{{{length18|}}}}}
 +
{{Tracklist/Track|19|{{{title19|}}}|{{{note19|}}}|{{{length19|}}}}}
 +
{{Tracklist/Track|20|{{{title20|}}}|{{{note20|}}}|{{{length20|}}}}}
 +
{{Tracklist/Track|21|{{{title21|}}}|{{{note21|}}}|{{{length21|}}}}}
 +
{{Tracklist/Track|22|{{{title22|}}}|{{{note22|}}}|{{{length22|}}}}}
 +
{{Tracklist/Track|23|{{{title23|}}}|{{{note23|}}}|{{{length23|}}}}}
 +
{{Tracklist/Track|24|{{{title24|}}}|{{{note24|}}}|{{{length24|}}}}}
 +
{{Tracklist/Track|25|{{{title25|}}}|{{{note25|}}}|{{{length25|}}}}}
 +
{{Tracklist/Track|26|{{{title26|}}}|{{{note26|}}}|{{{length26|}}}}}
 
</table>
 
</table>
  
 
<table cellpadding="0" style="width: {{{artwidth|200}}}px; border-width: 0px; border-collapse: collapse; float: left;">
 
<table cellpadding="0" style="width: {{{artwidth|200}}}px; border-width: 0px; border-collapse: collapse; float: left;">
<tr style="display: inline;">
+
<tr>[[File:{{{albumart}}}|{{{artwidth|200}}}px]]</tr>
[[File:{{{albumart}}}|{{{artwidth|200}}}px]]
 
</tr>
 
 
</table>
 
</table>
 
+
</div></includeonly><noinclude>
</table></includeonly>
 
<noinclude>
 
 
== Example ==
 
== Example ==
 
{{Tracklist
 
{{Tracklist
| title    = Kentucky Route Zero, Act I
+
| title    = Kentucky Route Zero, Act III
| albumart = Act I soundtrack album art.jpg
+
| albumart = Act III soundtrack album art.jpg
| title1  = The Stars Drop Away (Equus Oils)
+
| title1  = Xanadu
| length1  = 4:29
+
| length1  = 2:44
| title2  = Ghosts in the Static (Marquez Farm)
+
| title2  = Weird Vector
| length2  = 3:28
+
| length2  = 3:06
| title3  = You've Got to Walk (by [[The Bedquilt Ramblers]])
+
| title3  = Hall of the Mountain King
| length3  = 2:19
+
| length3  = 3:37
| title4  = Animal Bones (Exit)
+
| title4  = Too Late to Love You
| length4  = 2:30
+
| length4  = 6:14
 +
| title5  = What Would You Give
 +
| length5  = 3:30
 +
| note5    = by [[The Bedquilt Ramblers]]
 
}}
 
}}
  
{{clear}}
 
 
== Usage ==
 
== Usage ==
  

Latest revision as of 07:04, 2 February 2020

Example[edit]

Kentucky Route Zero, Act III
No. Title Length
1. "Xanadu"   2:44
2. "Weird Vector"   3:06
3. "Hall of the Mountain King"   3:37
4. "Too Late to Love You"   6:14
5. "What Would You Give" (by The Bedquilt Ramblers) 3:30
Act III soundtrack album art.jpg

Usage[edit]

{{Tracklist
| title    = Album title
| albumart = File.jpg
| artwidth = (default: 200)
| title1   = Track 1
| length1  = 1:11
| title2   = Track 2
| length2  = 2:22
...
| title10  = Track 10
| length10 = 10:10
}}