Template:Tracklist: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
<includeonly><table cellpadding="0" style="width: 100%; border: 1px solid #d5d5d5; border-collapse: collapse;">
<includeonly><div style="border: 2px solid #d5d5d5;"><table cellpadding="0" style="width: 100%; border: 1px solid #d5d5d5; border-collapse: collapse;">
{{#if: {{{title|}}}|<th style="text-align: center; background-color: #d5d5d5;" colspan="3">''{{{title | Album title}}}''</th>}}
{{#if: {{{title|}}}|<th style="text-align: center; background-color: #d5d5d5;" colspan="3">''{{{title | Album title}}}''</th>}}
<tr>
</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;">
<tr style="text-align: left; background-color: #eee;>
<tr style="text-align: left; background-color: #eee;>
Line 25: Line 26:
</tr>
</tr>
</table>
</table>
</tr>
</div></includeonly>
</table></includeonly>
<noinclude>
<noinclude>
== Example ==
== Example ==