Template:Venue performances: Difference between revisions

From SPCodex, The Smashing Pumpkins wiki
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#cargo_query:
<templatestyles src="Template:Venue performances/styles.css" />
tables=live_songs, shows, live_show_photos, live_banter
{{#invoke:venue performances|main|{{{1|{{PAGENAME}}}}}|{{{location|}}}}}<noinclude>{{documentation}}</noinclude>
|fields={{#if:{{{noposter|}}}||CONCAT("[[File:", shows.poster, "|200px|link=", shows._pageName, "]]")=Poster, }}CONCAT('[[', shows._pageName, '|', shows.date, ']]')=Date, shows.artist=Artist, IF(live_songs.name IS NULL, '', '[[File:OOjs_UI_icon_check-constructive.svg|30px|link=]]')=Setlist, IF(live_show_photos._pageName IS NULL AND shows.poster IS NULL, '', '[[File:OOjs_UI_icon_check-constructive.svg|30px|link=]]')=Photos, IF(live_banter._pageName IS NULL, '', '[[File:OOjs_UI_icon_check-constructive.svg|30px|link=]]')=Banter
|where=shows.venue = "{{{1|{{PAGENAME}}}}}"
|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
}}

Latest revision as of 03:42, 22 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