Jump to content

Template:Infobox tour: Difference between revisions

more tweaks
(trying to fix the color issue)
(more tweaks)
Line 68: Line 68:
{{#if:{{{Last tour|}}}{{{Next tour|}}}|
{{#if:{{{Last tour|}}}{{{Next tour|}}}|
   <tr>
   <tr>
     <th colspan="3" scope="col" style="text-align: center; background: {{#ifeq:{{Template:Infobox Concert/color|{{{Tour|}}}}}|khaki|{{Template:Infobox tour/color}}|{{Template:Infobox tour/color|{{{Tour|}}}}}}};">{{#if:{{{Chronology|}}}|{{{Chronology}}}|{{{Artist}}}}}{{#ifeq:{{{Tour|}}}|video|&#32;video}}&#32;tour chronology
     <th colspan="3" scope="col" style="text-align: center; background: {{#ifeq:{{Template:Infobox Concert/color|{{{Tour|}}}}}|khaki|{{Template:Infobox concert/color}}|{{Template:Infobox concert/color|{{{Tour|}}}}}}};">{{#if:{{{Chronology|}}}|{{{Chronology}}}|{{{Artist}}}}}{{#ifeq:{{{Tour|}}}|video|&#32;video}}&#32;tour chronology
   </tr>
   </tr>
   <tr>
   <tr>
Line 74: Line 74:
       <table cellspacing="0" cellpadding="0" width="100%" style="background: transparent;">
       <table cellspacing="0" cellpadding="0" width="100%" style="background: transparent;">
         <tr style="text-align: center; font-size: 0.8em; line-height: 1.4em;">
         <tr style="text-align: center; font-size: 0.8em; line-height: 1.4em;">
           <td style="width: 33%; vertical-align: top; padding: 0.2em 0.1em 0.2em 0;">{{{Last tour|}}}</td>
           <td style="width: 33%; text-align: center, vertical-align: top; padding: 0.2em 0.1em 0.2em 0;">{{{Last tour|}}}</td>
           <td style="width: 33%; vertical-align: top; padding: 0.2em 0.1em 0.2em 0.1em;">{{{This tour|}}}</td>
           <td style="width: 33%; text-align: center, vertical-align: top; padding: 0.2em 0.1em 0.2em 0.1em;">{{{This tour|}}}</td>
           <td style="width: 33%; vertical-align: top; padding: 0.2em 0 0.2em 0.1em;">{{{Next tour|}}}</td>
           <td style="width: 33%; text-align: center, vertical-align: top; padding: 0.2em 0 0.2em 0.1em;">{{{Next tour|}}}</td>
         </tr>
         </tr>
       </table>
       </table>