Template:Infobox tour: Difference between revisions

From SPCodex, The Smashing Pumpkins wiki
No edit summary
No edit summary
Line 7: Line 7:
|fields=MAX(date)
|fields=MAX(date)
|where=shows.artist = "{{{artist}}}" AND shows.tour = "{{{name}}}"
|where=shows.artist = "{{{artist}}}" AND shows.tour = "{{{name}}}"
}}}}</includeonly>{{Infobox
}}}}</includeonly><templatestyles src="Template:Infobox tour/styles.css" />{{Infobox
| bodyclass      = vevent
| bodyclass      = vevent
| title          = ''{{{name}}}'' {{#if:{{#pos:{{{name}}}|residency}}||{{#if:{{#pos:{{{name}}}|Sessions}}||tour}}}}
| title          = ''{{{name}}}'' {{#if:{{#pos:{{{name}}}|residency}}||{{#if:{{#pos:{{{name}}}|Sessions}}||tour}}}}
Line 49: Line 49:
| header24      = {{#if:{{{prev_tour|}}}{{{next_tour|}}}|{{{artist}}} tour chronology}}
| header24      = {{#if:{{{prev_tour|}}}{{{next_tour|}}}|{{{artist}}} tour chronology}}
| rowcellstyle24 = border-top: solid 1px #ccc; padding-top:8px
| rowcellstyle24 = border-top: solid 1px #ccc; padding-top:8px
| class25        = tour-chronology
| data25        = {{#if:{{{prev_tour|}}}{{{next_tour|}}}|
| data25        = {{#if:{{{prev_tour|}}}{{{next_tour|}}}|
*<li style="display: table-cell; width: 33%;">{{#if:{{{prev_tour|}}}|[[{{{prev_tour}}} tour|{{{prev_tour}}}]]<br/>({{{prev_year}}})}}
*<li style="display: table-cell; width: 33%;">{{#if:{{{prev_tour|}}}|[[{{{prev_tour}}} tour|{{{prev_tour}}}]]<br/>({{{prev_year}}})}}

Revision as of 03:29, 29 September 2020

{{{name}}} tour
Tour by [[]]
Start date{{#var:start_date}}
End date{{#var:end_date}}