Jump to content

Template:Infobox tour: Difference between revisions

parameters in lower case for better differentiation
(removing formatting from "Associated album" in case more than one album is used)
(parameters in lower case for better differentiation)
Line 1: Line 1:
{{Infobox
{{Infobox
| bodyclass  = vevent
| bodyclass  = vevent
| abovestyle  = color: inherit; background-color: {{#ifeq:{{Infobox concert/color|{{{Name|}}}}}|khaki|{{Infobox concert/color}}|{{Infobox concert/color|{{{Name|}}}}}}};
| abovestyle  = color: inherit; background-color: {{#ifeq:{{Infobox concert/color|{{{name|}}}}}|khaki|{{Infobox concert/color}}|{{Infobox concert/color|{{{name|}}}}}}};
| above      = {{#if:{{{Name|}}}|{{{Name}}}|<includeonly><span style="font-style: normal">Untitled</span></includeonly>}}
| above      = {{#if:{{{name|}}}|{{name}}}|<includeonly><span style="font-style: normal">Untitled</span></includeonly>}}


| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{#switch:{{{image|{{{Photo|}}}}}}|blank=|???=Nocover.png|#default={{{image|{{{Photo|}}}}}}}}|border={{{border|}}}|alt={{{alt|}}}|title={{{alt|}}}|size=220px}}
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{#switch:{{{image|{{{photo|}}}}}}|blank=|???=Nocover.png|#default={{{image|{{{photo|}}}}}}}}|border={{{border|}}}|alt={{{alt|}}}|title={{{alt|}}}|size=220px}}
| caption    = <div style="line-height: 1.4em;">{{{Caption|}}}</div>
| 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|}}}}}}}
| headerstyle = color: #202122;background-color: {{#ifeq:{{Infobox concert/color|{{{name|}}}}}|khaki|{{Infobox concert/color}}|{{Infobox concert/color|{{{name|}}}}}}}
| headerclass = description
| headerclass = description


| label2      = Artist
| label2      = Artist
| data2      = {{{Artist|}}}
| data2      = {{{artist|}}}
| label3      = Performances
| label3      = Performances
| data3      = {{{Performances|}}}
| data3      = {{{performances|}}}
| label4      = Start date
| label4      = Start date
| data4      = {{{Start date|}}}
| data4      = {{{start_date|}}}
| label5      = End date
| label5      = End date
| data5      = {{{End date|}}}
| data5      = {{{end_date|}}}
| label6      = Other band(s)
| label6      = Other band(s)
| data6      = {{{Other band(s)|}}}
| data6      = {{{other_bands|}}}
| label7      = Supporting act(s)
| label7      = Supporting act(s)
| data7      = {{{Supporting act(s)|}}}
| data7      = {{{supporting_acts|}}}
| label8      = Headerliner(s)
| label8      = Headerliner(s)
| data8      = {{{Headerliner(s)|}}}
| data8      = {{{headerliners|}}}
| label9      = Associated album
| label9      = Associated album
| data9      = {{{Associated album|}}}
| data9      = {{{associated_album|}}}
| label10      = Legs
| label10      = Legs
| data10      = {{{Legs|}}}
| data10      = {{{legs|}}}
| label11    = Tour Mngr
| label11    = Tour Mngr
| data11      = {{{Tour Mngr|}}}
| data11      = {{{tour_mngr|}}}


| header12  = {{#if:{{{Last tour|}}}{{{Next tour|}}}|{{#if:{{{Chronology|}}}|{{{Chronology|}}}|{{#ifeq: {{str letter|{{delink| {{{Artist|}}} }}}}|0|{{{Artist|}}}|{{{Artist|}}}}}}} tour chronology }}
| header12  = {{#if:{{{last_tour|}}}{{{next_tour|}}}|{{#if:{{{chronology|}}}|{{{chronology|}}}|{{#ifeq: {{str letter|{{delink| {{{artist|}}} }}}}|0|{{{artist|}}}|{{{artist|}}}}}}} tour chronology }}
| data13      = {{#if:{{{Last tour|}}}{{{Next tour|}}}|
| data13      = {{#if:{{{last_tour|}}}{{{next_tour|}}}|
{{(!}} style="color:inherit; background: transparent; width: 100%; min-width: 100%; border-collapse: collapse; display: inline-table;"
{{(!}} style="color:inherit; background: transparent; width: 100%; min-width: 100%; border-collapse: collapse; display: inline-table;"
{{!}}- style="line-height: 1.4em;"
{{!}}- style="line-height: 1.4em;"
{{!}} style="width: 33%; text-align: center; vertical-align: top; padding: .2em .1em .2em 0" {{!}} {{#if:{{{Last tour|}}}|{{{Last tour}}}|}}<br />{{#if:{{{Last tour year|}}}|({{{Last tour year}}})|}}
{{!}} style="width: 33%; text-align: center; vertical-align: top; padding: .2em .1em .2em 0" {{!}} {{#if:{{{last_tour|}}}|{{{last_tour}}}|}}<br />{{#if:{{{last_year|}}}|({{{last_year}}})|}}
{{!}} style="width: 33%; text-align: center; vertical-align: top; padding: .2em .1em" {{!}} '''{{{Name|{{PAGENAMEBASE}}}}}''' {{#if:{{{Start date|}}}|<br />({{#invoke:String|match|error_category=Music infoboxes with Module:String errors{{!}}A|{{{Start date}}}|%d%d%d+}})| }}
{{!}} style="width: 33%; text-align: center; vertical-align: top; padding: .2em .1em" {{!}} '''{{{name|{{PAGENAMEBASE}}}}}''' {{#if:{{{start_date|}}}|<br />({{#invoke:String|match|error_category=Music infoboxes with Module:String errors{{!}}A|{{{start_date}}}|%d%d%d+}})| }}
{{!}} style="width: 33%; text-align: center; vertical-align: top; padding: .2em .1em .2em 0" {{!}} {{#if:{{{Next tour|}}}|{{{Next tour}}}|}}<br />{{#if:{{{Next tour year|}}}|({{{Next tour year}}})|}}
{{!}} style="width: 33%; text-align: center; vertical-align: top; padding: .2em .1em .2em 0" {{!}} {{#if:{{{next_tour|}}}|{{{next_tour}}}|}}<br />{{#if:{{{next_year|}}}|({{{next_year}}})|}}
{{!)}}
{{!)}}
}}
}}