Template:Infobox live show: Difference between revisions

Undo revision 73572 by MusikAnimal (talk)
No edit summary
(Undo revision 73572 by MusikAnimal (talk))
Line 15: Line 15:
|poster = File
|poster = File
|festival = String
|festival = String
|televised = Wikitext string
|notes = Wikitext
|notes = Wikitext
}}</noinclude><includeonly>{{#if:{{#pos:{{{venue|}}}|[<nowiki/>[}}|{{#invoke:infobox live show|venueInfo|{{delink target|{{{venue}}}}}}}}}{{#cargo_store:_table=shows
}}</noinclude><includeonly>{{#if:{{#pos:{{{venue|}}}|[<nowiki/>[}}|{{#invoke:infobox live show|venueInfo|{{delink target|{{{venue}}}}}}}}}{{#cargo_store:_table=shows
Line 33: Line 32:
|poster = {{{poster|}}}
|poster = {{{poster|}}}
|festival = {{{festival|}}}
|festival = {{{festival|}}}
|televised = {{{televised|}}}
|notes = {{{notes|}}}
|notes = {{{notes|}}}
}}{{#ifexpr:{{#time:Ymd|{{{date|}}}}} > {{CURRENTYEAR}}{{CURRENTMONTH}}{{CURRENTDAY2}}|{{upcoming show}}}}{{#if:{{{lat|{{#var:lat}}}}}||[[Category:Live performances with missing coordinates]]}}</includeonly>{{Infobox
}}{{#ifexpr:{{#time:Ymd|{{{date|}}}}} > {{CURRENTYEAR}}{{CURRENTMONTH}}{{CURRENTDAY2}}|{{upcoming show}}}}{{#if:{{{lat|{{#var:lat}}}}}||[[Category:Live performances with missing coordinates]]}}</includeonly>{{Infobox
Line 54: Line 52:
| label5      = Festival
| label5      = Festival
| data5      = {{#if:{{{festival|}}}|[[Category:{{{festival}}}]][[:Category:{{{festival}}}|{{{festival}}}]]}}
| data5      = {{#if:{{{festival|}}}|[[Category:{{{festival}}}]][[:Category:{{{festival}}}|{{{festival}}}]]}}
| label6      = Televised
| label6      = Venue
| data6       = {{#if:{{{televised|}}}|[[Category:Televised live performances]]{{{televised}}}}}
| data6      = {{#if:{{{venue|}}}|{{{venue}}}|Unknown<includeonly>[[Category:Live performances with unknwon venues]]</includeonly>}} {{#if:{{{venue_suffix|}}}|<br/><small>({{{venue_suffix}}})</small>}}
| label7      = Venue
| label7     = Coordinates
| data7       = {{#if:{{{venue|}}}|{{{venue}}}|Unknown<includeonly>[[Category:Live performances with unknwon venues]]</includeonly>}} {{#if:{{{venue_suffix|}}}|<br/><small>({{{venue_suffix}}})</small>}}
| data7       = {{#if:{{{lat|{{#var:lat}}}}}|{{#if:{{{lng|{{#var:lng}}}}}|{{maplink single|{{{lat|{{#var:lat}}}}}|{{{lng|{{#var:lng}}}}}}}}}}}
| label8     = Coordinates
| label8     = Location
| data9       = {{#if:{{{lat|{{#var:lat}}}}}|{{#if:{{{lng|{{#var:lng}}}}}|{{maplink single|{{{lat|{{#var:lat}}}}}|{{{lng|{{#var:lng}}}}}}}}}}}
| data8       = {{{location|{{#var:location}}}}}
| label9     = Location
| label9     = Venue type
| data9       = {{{location|{{#var:location}}}}}
| data9       = {{{venue_type|{{#var:venue_type}}}}}
| label10     = Venue type
| label10     = Capacity
| data10       = {{{venue_type|{{#var:venue_type}}}}}
| data10     = {{FORMATNUM:{{{capacity|{{#var:capacity}}}}}}}
| label11     = Capacity
| label11     = Attendance
| data11     = {{FORMATNUM:{{{capacity|{{#var:capacity}}}}}}}
| data11     = {{FORMATNUM:{{{attendance|}}}}}
| label12     = Attendance
| label12     = Revenue
| data12     = {{FORMATNUM:{{{attendance|}}}}}
| data12     = {{{revenue|}}}
| label13     = Revenue
| label13     = Personnel
| data13     = {{{revenue|}}}
| data13     = {{#invoke:infobox live show|normalizeMembers|{{{personnel|{{{lineup|}}}}}}|true}}
| label14     = Personnel
| label14     = Order of bands
| data14     = {{#invoke:infobox live show|normalizeMembers|{{{personnel|{{{lineup|}}}}}}|true}}
| data14     = {{{bands|}}}
| label15     = Order of bands
| data15     = {{{bands|}}}
| below      = {{#if:{{{date|}}}|<div class="live-show-links">{{#vardefine:archive_artist|{{#switch:{{{archive_artist|{{{artist}}}}}}
| below      = {{#if:{{{date|}}}|<div class="live-show-links">{{#vardefine:archive_artist|{{#switch:{{{archive_artist|{{{artist}}}}}}
|Zwan=Zwan
|Zwan=Zwan