Template:Infobox tour: Difference between revisions

this reders the years correctly in the chronology if "start date" and "end date" are 2 differen years
("headliners" above "other bands" above "supporting acts")
(this reders the years correctly in the chronology if "start date" and "end date" are 2 differen years)
Line 36: Line 36:
{{!}}- 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_year|}}}|({{{last_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+}}| }}{{#ifeq:{{#invoke:String|match|error_category=Music infoboxes with Module:String errors{{!}}A|{{{start_date}}}|%d%d%d+}}|{{#invoke:String|match|error_category=Music infoboxes with Module:String errors{{!}}A|{{{end_date}}}|%d%d%d+}}|)|-{{#invoke:String|match|error_category=Music infoboxes with Module:String errors{{!}}A|{{{end_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_year|}}}|({{{next_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}}})|}}
{{!)}}
{{!)}}