Template:Spectracklist2: Difference between revisions

From The Elvis Costello Wiki
Jump to navigationJump to search
(test)
(test)
Line 13: Line 13:
     <tr>
     <tr>
       <th class="tlheader" style="width: 20px; padding-left: 10px; padding-right: 10px; text-align: right; background-color: #eee;"> </th>
       <th class="tlheader" style="width: 20px; padding-left: 10px; padding-right: 10px; text-align: right; background-color: #eee;"> </th>
       <th class="tlheader" style="{{#switch: {{#expr: (0 + {{#ifeq: {{{writing_credits}}}|yes|1|{{#ifeq: {{{lyrics_credits}}}|yes|1|0}} + {{#ifeq: {{{music_credits}}}|yes|1|0}} }} + {{#if: {{{extra_column|}}}|1|0}}) }} | 0 = width: 100%; | 1 = width: 90%; | 2 = width: 1%; | 3 = width: 9%;}} text-align: left; background-color: #eee;">{{{episode}}}</th>{{ #ifeq: {{{writing_credits}}}|yes|<th style="{{#switch: {{#expr: (1 + {{#if: {{{extra_column|}}}|1|0}}) }} | 1 = width: 40%; | 2 = width: 30%;}} text-align: left; background-color: #eee;">Writer(s)</th>|{{ #ifeq: {{{lyrics_credits}}}|yes|<th style="{{#switch: {{#expr: (1 + {{#ifeq: {{{music_credits}}}|yes|1|0}} + {{#if: {{{extra_column|}}}|1|0}}) }} | 1 = width: 40%; | 2 = width: 30%; | 3 = width: 20%;}} text-align: left; background-color: #eee;">Lyrics</th>}}{{ #ifeq: {{{music_credits}}}|yes|<th style="{{#switch: {{#expr: (1 + {{#ifeq: {{{lyrics_credits}}}|yes|1|0}} + {{#if: {{{extra_column|}}}|1|0}}) }} | 1 = width: 40%; | 2 = width: 30%; | 3 = width: 20%;}} text-align: left; background-color: #eee;">Music</th>}}}}{{ #if: {{{extra_column|}}}|<th style="{{#switch: {{#expr: (1 + {{#ifeq: {{{writing_credits}}}|yes|1|{{#ifeq: {{{lyrics_credits}}}|yes|1|0}} + {{#ifeq: {{{music_credits}}}|yes|1|0}}}})}} | 1 = width: 40%; | 2 = width: 30%; | 3 = width: 20%;}} text-align: left; background-color: #eee;">{{{extra_column}}}</th>}}
       <th class="tlheader" style="{{#switch: {{#expr: (0 + {{#ifeq: {{{writing_credits}}}|yes|1|{{#ifeq: {{{lyrics_credits}}}|yes|1|0}} + {{#ifeq: {{{music_credits}}}|yes|1|0}} }} + {{#if: {{{extra_column|}}}|1|0}}) }} | 0 = width: 100%; | 1 = width: {{{c1}}}; | 2 = width: {{{c2}}}%; | 3 = width: {{{c3}}}%;}} text-align: left; background-color: #eee;">{{{episode}}}</th>{{ #ifeq: {{{writing_credits}}}|yes|<th style="{{#switch: {{#expr: (1 + {{#if: {{{extra_column|}}}|1|0}}) }} | 1 = width: 40%; | 2 = width: 30%;}} text-align: left; background-color: #eee;">Writer(s)</th>|{{ #ifeq: {{{lyrics_credits}}}|yes|<th style="{{#switch: {{#expr: (1 + {{#ifeq: {{{music_credits}}}|yes|1|0}} + {{#if: {{{extra_column|}}}|1|0}}) }} | 1 = width: 40%; | 2 = width: 30%; | 3 = width: 20%;}} text-align: left; background-color: #eee;">Lyrics</th>}}{{ #ifeq: {{{music_credits}}}|yes|<th style="{{#switch: {{#expr: (1 + {{#ifeq: {{{lyrics_credits}}}|yes|1|0}} + {{#if: {{{extra_column|}}}|1|0}}) }} | 1 = width: 40%; | 2 = width: 30%; | 3 = width: 20%;}} text-align: left; background-color: #eee;">Music</th>}}}}{{ #if: {{{extra_column|}}}|<th style="{{#switch: {{#expr: (1 + {{#ifeq: {{{writing_credits}}}|yes|1|{{#ifeq: {{{lyrics_credits}}}|yes|1|0}} + {{#ifeq: {{{music_credits}}}|yes|1|0}}}})}} | 1 = width: 40%; | 2 = width: 30%; | 3 = width: 20%;}} text-align: left; background-color: #eee;">{{{extra_column}}}</th>}}
       <th class="tlheader" style="width: 60px; padding-right: 10px; text-align: right; background-color: #eee;">Length</th>
       <th class="tlheader" style="width: 60px; padding-right: 10px; text-align: right; background-color: #eee;">Length</th>
     </tr>
     </tr>

Revision as of 19:51, 2 February 2011

variation of the tracklist template for testing