Template:Venue performances: Difference between revisions

From SPCodex, The Smashing Pumpkins wiki
No edit summary
No edit summary
Line 1: Line 1:
<templatestyles src="Template:Venue performances/styles.css" />
<templatestyles src="Template:Venue performances/styles.css" />
{| class="wikitable sortable venue-performances"
{{#invoke:venue performances|main|{{{1|9:30 Club}}}|{{{location|}}}}}<noinclude>{{documentation}}</noinclude>
|-
! Poster
! Date
! Artist
! Setlist
! Photos
! Banter
! Notes
|-
{{#cargo_query:
tables=live_songs, shows, live_show_photos, live_banter
|fields=shows.poster=poster, shows._pageName=page_name, shows.date=date, shows.artist=artist, shows.featuring_artist=featuring_artist, live_songs.name=setlist, IF(live_show_photos._pageName IS NULL AND shows.poster IS NULL, '', '1')=photos, live_banter._pageName=banter, notes=notes
|where=shows.venue = "{{{1|{{PAGENAME}}}}}" {{#if:{{{location|}}}|AND location="{{{location}}}"}}
|join on=shows._pageName = live_songs._pageName, shows._pageName=live_show_photos._pageName, shows._pageName=live_banter._pageName
|group by=shows._pageName
|order by=shows.date ASC
|limit=250
|offset=0
|format=template
|template=Template:Venue performances/Row
|named args=yes
}}
|}<noinclude>{{documentation}}</noinclude>

Revision as of 04:39, 10 February 2022

Template documentation[view] [edit] [history] [purge]

Place this on a [[:Category:Venues|venue]] page to list shows that took place at that venue.

[Edit template data]

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Venue name1

Name of the venue, if different from the page name

Auto value
{{PAGENAME}}
Stringrequired
Locationlocation

Should exactly match the location parameter in {{infobox venue}}

Auto value
Stringrequired