Template:Infobox tour: Difference between revisions
MusikAnimal (talk | contribs) m (Protected "Template:Infobox tour": high-risk template ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) [Delete=Allow only administrators] (indefinite))) |
MusikAnimal (talk | contribs) (link to first/last show) |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{year|}}}|[[Category:Live performances by year]]|[[Category:Live performances by tour]] | <includeonly>{{#if:{{{year|}}}|[[Category:Live performances by year]]|[[Category:Live performances by tour]]}}</includeonly><templatestyles src="Template:Infobox tour/styles.css" />{{Infobox | ||
| bodyclass = vevent | | bodyclass = vevent | ||
| title = {{#if:{{{festival|}}}|{{{festival}}}|{{#if:{{{year|}}}|{{#if:{{{artist|}}}|{{{artist}}}}} {{{year}}} tour history|{{#if:{{{tour|}}}|''{{{tour}}} {{#if:{{#pos:{{{tour}}}|residency}}||{{#if:{{#pos:{{{tour}}}|Sessions}}||tour}}}}''|{{#if:{{{artist|}}}|{{{artist}}} tour history|Tour history}}}}}}}} | | title = {{#if:{{{festival|}}}|{{{festival}}}|{{#if:{{{year|}}}|{{#if:{{{artist|}}}|{{{artist}}}}} {{{year}}} tour history|{{#if:{{{tour|}}}|''{{{tour}}} {{#if:{{#pos:{{{tour}}}|residency}}||{{#if:{{#pos:{{{tour}}}|Sessions}}||tour}}}}''|{{#if:{{{artist|}}}|{{{artist}}} tour history|Tour history}}}}}}}} | ||
Line 18: | Line 10: | ||
| data1 = {{{co-headliner|}}} | | data1 = {{{co-headliner|}}} | ||
| label11 = {{#if:{{{tour|}}}|Start|First}} date | | label11 = {{#if:{{{tour|}}}|Start|First}} date | ||
| data11 = {{# | | data11 = {{#cargo_query: | ||
tables=shows | |||
|fields=CONCAT('[[', _pageName, '|', MIN(date), ']]') | |||
|where={{#invoke:String|join| AND |{{#if:{{{1|1}}}|shows.date__precision=1}}|{{#if:{{{artist|}}}|(shows.artist = "{{{artist}}}" OR shows.featuring_artist = "{{{artist}}}")}}|{{#if:{{{tour|}}}|shows.tour = "{{{tour}}}"}}|{{#if:{{{festival|}}}|shows.festival = "{{{festival}}}"}}|{{#if:{{{year|}}}|YEAR(shows.date) = {{{year}}}}}}} | |||
}} | |||
| label12 = {{#if:{{{tour|}}}|End|Last}} date | | label12 = {{#if:{{{tour|}}}|End|Last}} date | ||
| data12 = {{# | | data12 = {{#cargo_query: | ||
tables=shows | |||
|fields=CONCAT('[[', _pageName, '|', MAX(date), ']]') | |||
|where={{#invoke:String|join| AND |{{#if:{{{1|1}}}|shows.date__precision=1}}|{{#if:{{{artist|}}}|(shows.artist = "{{{artist}}}" OR shows.featuring_artist = "{{{artist}}}")}}|{{#if:{{{tour|}}}|shows.tour = "{{{tour}}}"}}|{{#if:{{{festival|}}}|shows.festival = "{{{festival}}}"}}|{{#if:{{{year|}}}|YEAR(shows.date) = {{{year}}} AND shows.date__precision=1}}}} | |||
}} | |||
| label13 = Duration | | label13 = Duration | ||
| data13 = {{{duration|}}} | | data13 = {{{duration|}}} |
Revision as of 03:41, 18 December 2020
First date | 1988-07-09 |
---|---|
Last date | 2024-09-28 |
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Artist | artist | The name of the artist | Page name | required |
Name of tour | tour | no description | String | suggested |
Image | image | no description | File | suggested |
Image caption | caption | no description | Unknown | optional |
Year | year | Use this instead of the 'tour' parameter on pages that list shows for a whole year and not a specific tour
| Number | optional |
Image size | image_size | no description | Unknown | optional |
landscape | landscape | no description | Unknown | optional |
border | border | no description | Unknown | optional |
alt | alt | no description | Unknown | optional |
image_caption | image_caption | no description | Unknown | optional |
Co-headlers | co-headliner | Other artists that co-headlined the tour, such as Marilyn Manson for The End Times tour | String | optional |
duration | duration | no description | Unknown | optional |
number_of_legs | number_of_legs | no description | Unknown | optional |
supporting_artists | supporting_artists | no description | Unknown | optional |
Name of previous tour | prev_tour | Previous tour for the this band | String | suggested |
Year of previous tour | prev_year | Year or year range of the previous tour
| Unknown | suggested |
Name of next tour | next_tour | Next tour by this band | Unknown | suggested |
Year of this tour | this_year | no description | Unknown | suggested |
Year of next tour | next_year | Year or year range of the next tour | Unknown | optional |
Festival | festival | Supply field instead of "name" or "year" to show data on appearances at the given festival | String | optional |