Template:Infobox tour: Difference between revisions

completely redone
(Undo revision 132397 by Donny (talk))
Tag: Undo
(completely redone)
Line 1: Line 1:
<includeonly><table class="infobox vevent" style="width: 20em;">
{{Infobox
<tr>
| bodyclass  = vevent
  <th colspan="3" scope="col" class="summary" style="text-align: center; background: {{Template:Infobox tour/color|{{{Name|}}}}};">{{#if:{{{Name|}}}|{{{Name}}}|}}
| abovestyle  = color: inherit; background-color: {{#ifeq:{{Infobox Concert/color|{{{Name|}}}}}|khaki|{{Infobox Concert/color}}|{{Infobox Concert/color|{{{Name|}}}}}}};
</tr>
| above      = {{#if:{{{Name|}}}|{{{Name}}}|<includeonly><span style="font-style: normal">Untitled</span></includeonly>}}
{{#ifeq:{{{Photo|}}}|0||
 
  <tr>
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{#switch:{{{image|{{{Photo|}}}}}}|blank=|???=Nocover.png|#default={{{image|{{{Photo|}}}}}}}}|border={{{border|}}}|alt={{{alt|}}}|title={{{alt|}}}|size=220px}}
    <td colspan="3" style="text-align: center;">{{#if:{{{Photo|}}}|[[Image:{{{Photo}}}|{{min|200|{{{Cover size|}}}}}px|{{#ifeq:{{{Border|}}}|yes|border{{!}}}}{{{Name}}} cover]]
| caption    = <div style="line-height: 1.4em;">{{{Caption|}}}</div>
 
| headerstyle = color: #202122;background-color: {{#ifeq:{{Infobox Concert/color|{{{Name|}}}}}|khaki|{{Infobox Concert/color}}|{{Infobox Concert/color|{{{Name|}}}}}}}
| headerclass = description
 
| label2      = Artist
| data2      = {{{Artist|}}}
| label3      = Performances
| data3      = {{{Performances|}}}
| label4      = Start date
| data4      = {{{Start date|}}}
| label5      = End date
| data5      = {{{End date|}}}
| label6      = Supporting act(s)
| data6      = {{{Supporting act(s)|}}}
| label7      = Headerliner(s)
| data7      = {{{Headerliner(s)|}}}
| label8      = Associated album
| data8      = {{#if: {{{Associated album|}}} | ''[[{{{Associated album}}}]]'' }}
| label9      = Legs
| data9      = {{{Legs|}}}
| label10    = Tour Mngr
| data10      = {{{Tour Mngr|}}}
 
| header11  = {{#if:{{{Last tour|}}}{{{Next tour|}}}|{{#if:{{{Chronology|}}}|{{{Chronology|}}}|{{#ifeq: {{str letter|{{delink| {{{Artist|}}} }}}}|0|{{{Artist|}}}|{{{Artist|}}}}}}} tour chronology }}
| data12      = {{#if:{{{Last tour|}}}{{{Next tour|}}}|
{{(!}} style="color:inherit; background: transparent; width: 100%; min-width: 100%; border-collapse: collapse; display: inline-table;"
{{!}}- style="line-height: 1.4em;"
{{!}} style="width: 33%; text-align: center; vertical-align: top; padding: .2em .1em .2em 0" {{!}} {{#if:{{{Last tour|}}}|{{{Last tour}}}|}}
{{!}} style="width: 33%; text-align: center; vertical-align: top; padding: .2em .1em" {{!}} '''{{{Name|{{PAGENAMEBASE}}}}}'''
{{!}} style="width: 33%; text-align: center; vertical-align: top; padding: .2em .1em .2em 0" {{!}} {{#if:{{{Next tour|}}}|{{{Next tour}}}|}}
{{!)}}
}}
}}
{{#if:{{{Caption|}}}|<div style="font-size: 0.8em; line-height: 1.4em;">{{{Caption}}}</div>
}}
}}
    </td>
<noinclude>{{#ifeq:{{FULLPAGENAME}}|Template:Infobox tour/sandbox|{{Template sandbox notice}}|{{documentation}}}}
  </tr>
}}
{{#if:{{{Artist|}}}|
  <tr>
    <th scope="row" style="width: 5.2em; text-align: left; font-size:0.9em;">Artist
    <td colspan="2" style="width: 14em; font-size:0.9em;">{{{Artist}}}</td>
  </tr>
}}
{{#if:{{{Performances|}}}|
  <tr>
    <th scope="row" style="width: 5.2em; text-align: left; font-size:0.9em;">Performances
    <td colspan="2" style="width: 14em; font-size:0.9em;">{{{Performances}}}</td>
  </tr>
}}
{{#if:{{{Start date|}}}|
  <tr>
    <th scope="row" style="width: 5.2em; text-align: left; font-size:0.9em;">Start date
    <td colspan="2" style="width: 14em; font-size:0.9em;">{{{Start date}}}</td>
  </tr>
}}
{{#if:{{{End date|}}}|
  <tr>
    <th scope="row" style="width: 5.2em; text-align: left; font-size:0.9em;">End date
    <td colspan="2" style="width: 14em; font-size:0.9em;">{{{End date}}}</td>
  </tr>
}}
{{#if:{{{Supporting act(s)|}}}|
  <tr>
    <th scope="row" style="width: 5.2em; text-align: left; font-size:0.9em;">Supporting act(s)
    <td colspan="2" style="width: 14em; font-size:0.9em;">{{{Supporting act(s)}}}</td>
  </tr>
}}
{{#if:{{{Headliner(s)|}}}|
  <tr>
    <th scope="row" style="width: 5.2em; text-align: left; font-size:0.9em;">Headliners
    <td colspan="2" style="width: 14em; font-size:0.9em;">{{{Headliners}}}</td>
  </tr>
}}
{{#if:{{{Associated album|}}}|
  <tr>
    <th scope="row" style="width: 5.2em; text-align: left; font-size:0.9em;">Associated album
    <td colspan="2" style="width: 14em; font-size:0.9em;">{{{Associated album}}}</td>
  </tr>
}}
{{#if:{{{Legs|}}}|
  <tr>
    <th scope="row" style="width: 5.2em; text-align: left; font-size:0.9em;">Legs
    <td colspan="2" style="width: 14em; font-size:0.9em;">{{{Legs}}}</td>
  </tr>
}}
{{#if:{{{Tour Mngr|}}}|
  <tr>
    <th scope="row" style="width: 5.2em; text-align: left; font-size:0.9em;">Tour Mngr
    <td colspan="2" style="width: 14em; font-size:0.9em;">{{{Tour Mngr}}}</td>
  </tr>
}}
{{#if:{{{Last tour|}}}{{{Next tour|}}}|
  <tr>
    <th colspan="3" scope="col" style="text-align: center; background: {{#ifeq:{{Template:Infobox tour/color|{{{Name|}}}}}|khaki|{{Template:Infobox tour/color}}|{{Template:Infobox tour/color|{{{Name|}}}}}}};">{{#if:{{{Chronology|}}}|{{{Chronology}}}|{{{Artist}}}}}{{#ifeq:{{{Name|}}}|video|&#32;video}}&#32;tour chronology
  </tr>
  <tr>
    <td colspan="3">
      <table cellspacing="0" cellpadding="0" width="100%" style="background: transparent;">
        <tr style="text-align: center; font-size: 0.8em; line-height: 1.4em;">
          <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%; text-align: center; 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 0.2em 0.1em;">{{{Next tour|}}}</td>
        </tr>
      </table>
    </td>
  </tr>
}}
{{{Misc|}}}
</table></includeonly><noinclude>
{{#ifeq:{{FULLPAGENAME}}|Template:Infobox tour/sandbox|{{Template sandbox notice}}|{{documentation}}}}
{{#ifeq:{{FULLPAGENAME}}|Template:Infobox tour|}}[[Category:Infoboxes]]</noinclude>
{{#ifeq:{{FULLPAGENAME}}|Template:Infobox tour|}}[[Category:Infoboxes]]</noinclude>