Difference between revisions of "Template:Track listing"

From Serial Experiments Lain wiki
Jump to: navigation, search
Line 6: Line 6:
 
{{#ifeq: {{{collapsed}}}|yes|
 
{{#ifeq: {{{collapsed}}}|yes|
 
<tr>
 
<tr>
<th class="tlheader" colspan="10" style="text-align: left; background-color: #fff">Track listing</th>
+
<th class="tlheader" colspan="10" style="text-align: left>Track listing</th>
 
</tr>
 
</tr>
 
}}
 
}}
Line 116: Line 116:
 
{{#if:{{{total_length|}}} |
 
{{#if:{{{total_length|}}} |
 
<tr>
 
<tr>
<td align="right" colspan="{{#expr: (2 + {{#ifeq: {{{writing_credits}}}|yes|1|{{#ifeq: {{{lyrics_credits}}}|yes|1|0}} + {{#ifeq: {{{music_credits}}}|yes|1|0}}  }} + {{#if:{{{extra_column|}}}|1|0}}) }}"><div style="width: 7.5em; text-align: left; padding-left: 10px; background-color: #eee; margin: 0;">'''Total length:'''</div></td>
+
<td align="right" colspan="{{#expr: (2 + {{#ifeq: {{{writing_credits}}}|yes|1|{{#ifeq: {{{lyrics_credits}}}|yes|1|0}} + {{#ifeq: {{{music_credits}}}|yes|1|0}}  }} + {{#if:{{{extra_column|}}}|1|0}}) }}"><div style="width: 7.5em; text-align: left; padding-left: 10px; background-color: #585859; margin: 0;">'''Total length:'''</div></td>
<td style="padding-right: 10px; text-align: right; background-color: #eee;">'''{{{total_length}}}'''</td>
+
<td style="padding-right: 10px; text-align: right; background-color: #585859;">'''{{{total_length}}}'''</td>
 
</tr>
 
</tr>
 
}}</table></div><noinclude>
 
}}</table></div><noinclude>

Revision as of 22:01, 3 August 2022

No. Title Length

Usage

{{Track listing
| collapsed       = 
| headline        = 
| extra_column    = 
| total_length    = 

| all_writing     = 
| all_lyrics      = 
| all_music       = 

| writing_credits = 
| lyrics_credits  = 
| music_credits   = 

| title1          = 
| note1           = 
| writer1         = 
| lyrics1         = 
| music1          = 
| extra1          = 
| length1         = 

| title2          = 
| note2           = 
| writer2         = 
| lyrics2         = 
| music2          = 
| extra2          = 
| length2         = 

...

| title99         = 
| note99          = 
| writer99        = 
| lyrics99        = 
| music99         = 
| extra99         = 
| length99        = 
}}