Template:Infobox tour: Difference between revisions
MusikAnimal (talk | contribs) No edit summary |
MusikAnimal (talk | contribs) No edit summary |
||
Line 9: | Line 9: | ||
}}}}</includeonly><templatestyles src="Template:Infobox tour/styles.css" />{{Infobox | }}}}</includeonly><templatestyles src="Template:Infobox tour/styles.css" />{{Infobox | ||
| bodyclass = vevent | | bodyclass = vevent | ||
| title = {{#if:{{{festival|}}}|{{{festival}}}|{{#if:{{{year|}}}|{{{artist}}} {{{year}}} tour history|''{{{name}}} {{#if:{{#pos:{{{name}}}|residency}}||{{#if:{{#pos:{{{name}}}|Sessions}}||tour}}}}''}}}} | | title = {{#if:{{{festival|}}}|{{{festival}}}|{{#if:{{{year|}}}|{{#if:{{{artist|}}}|{{{artist}}}}} {{{year}}} tour history|''{{{name}}} {{#if:{{#pos:{{{name}}}|residency}}||{{#if:{{#pos:{{{name}}}|Sessions}}||tour}}}}''}}}} | ||
| titleclass = summary | | titleclass = summary | ||
| subheader = {{#if:{{{name|}}}|[[Tour history|Tour]] by [[{{{artist|}}}]]}} | | subheader = {{#if:{{{name|}}}|[[Tour history|Tour]] by [[{{{artist|}}}]]}} | ||
Line 17: | Line 17: | ||
| label1 = Co-headliners | | label1 = Co-headliners | ||
| data1 = {{{co-headliner|}}} | | data1 = {{{co-headliner|}}} | ||
| label11 = {{#if:{{{ | | label11 = {{#if:{{{name|}}}|Start|First}} date | ||
| data11 = {{#var:start_date}}<!--<includeonly>[[{{{artist}}} {{#var:start_date}}|{{#var:start_date}}]]</includeonly>--> | | data11 = {{#var:start_date}}<!--<includeonly>[[{{{artist}}} {{#var:start_date}}|{{#var:start_date}}]]</includeonly>--> | ||
| label12 = {{#if:{{{ | | label12 = {{#if:{{{name|}}}|End|Last}} date | ||
| data12 = {{#var:end_date}}<!--<includeonly>[[{{{artist}}} {{#var:end_date}}|{{#var:end_date}}]]</includeonly>--> | | data12 = {{#var:end_date}}<!--<includeonly>[[{{{artist}}} {{#var:end_date}}|{{#var:end_date}}]]</includeonly>--> | ||
| label13 = Duration | | label13 = Duration | ||
Line 47: | Line 47: | ||
| header24 = {{#if:{{{year|}}}|{{{artist}}} tour history|{{#if:{{{prev_tour|}}}{{{next_tour|}}}|{{{artist}}} tour chronology}}}} | | header24 = {{#if:{{{year|}}}|{{#if:{{{artist|}}}|{{{artist}}} tour history|Tour history}}|{{#if:{{{prev_tour|}}}{{{next_tour|}}}|{{#if:{{{artist|}}}|{{{artist}}} tour chronology|Tour chronology}}}}}} | ||
| rowcellstyle24 = border-top: solid 1px #ccc; padding-top:8px | | rowcellstyle24 = border-top: solid 1px #ccc; padding-top:8px | ||
| class25 = tour-chronology | | class25 = tour-chronology | ||
| data25 = {{#if:{{{prev_tour|}}}{{{next_tour|}}}{{{year|}}}| | | data25 = {{#if:{{{prev_tour|}}}{{{next_tour|}}}{{{year|}}}| | ||
*<li style="display: table-cell; width: 33%;">{{#if:{{{prev_year|}}}|{{#if:{{{prev_tour|}}}|[[{{{prev_tour}}} tour|{{{prev_tour}}}]]<br/>({{{prev_year}}})|([[{{{artist}}} {{{prev_year}}} tour history|{{{prev_year}}}]])}}}} | *<li style="display: table-cell; width: 33%;">{{#if:{{{prev_year|}}}|{{#if:{{{prev_tour|}}}|[[{{{prev_tour}}} tour|{{{prev_tour}}}]]<br/>({{{prev_year}}})|([[{{#if:{{{artist|}}}|{{{artist}}}}} {{{prev_year}}} tour history|{{{prev_year}}}]])}}}} | ||
*<li style="display: table-cell; width: 33%;">{{#if:{{{name|}}}|{{{name}}}<br/>}}({{{this_year|{{{year|}}}}}}) | *<li style="display: table-cell; width: 33%;">{{#if:{{{name|}}}|{{{name}}}<br/>}}({{{this_year|{{{year|}}}}}}) | ||
*<li style="display: table-cell; width: 33%;">{{#if:{{{next_year|}}}|{{#if:{{{next_tour|}}}|[[{{{next_tour}}} tour|{{{next_tour}}}]]<br/>({{{next_year}}})|([[{{{artist}}} {{{next_year}}} tour history|{{{next_year}}}]])}}}} | *<li style="display: table-cell; width: 33%;">{{#if:{{{next_year|}}}|{{#if:{{{next_tour|}}}|[[{{{next_tour}}} tour|{{{next_tour}}}]]<br/>({{{next_year}}})|([[{{#if:{{{artist|}}}|{{{artist}}}}} {{{next_year}}} tour history|{{{next_year}}}]])}}}} | ||
}}}}__FORCETOC__<noinclude><templatedata> | }}}}__FORCETOC__<noinclude><templatedata> | ||
{ | { |
Revision as of 00:37, 19 October 2020
First date | {{#var:start_date}} |
---|---|
Last date | {{#var:end_date}} |
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Artist | artist | The name of the artist | Page name | required |
Name of tour | name | 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 |