Difference between revisions of "VenueList"

From Sega Retro

(Created page with "{{#cargo_query: tables=venuebranding |fields=pagename,venuename,branding,date |where=branding="{{{1|}}}" |order by=venuename |format=template |template=VenueList/Cargo |more r...")
 
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#cargo_query:
+
<includeonly>{{#vardefine:openCount|0}}{{#vardefine:closedCount|0}}{{#cargo_query:
 
tables=venuebranding
 
tables=venuebranding
 
|fields=pagename,venuename,branding,date
 
|fields=pagename,venuename,branding,date
Line 7: Line 7:
 
|template=VenueList/Cargo
 
|template=VenueList/Cargo
 
|more results text=
 
|more results text=
}}<noinclude>[[Category:Sega Retro templates]]</noinclude>
+
|limit=1000
 +
}}{{#if:{{#var:openlist}}|
 +
<h3>Open</h3>
 +
{{multicol|
 +
{{#var:openlist}}
 +
|cols={{MulticolColumnCalc|{{#var:openCount}}}}
 +
}}
 +
 
 +
<h3>Closed</h3>
 +
|}}{{multicol|
 +
{{#var:closedlist}}
 +
|cols={{MulticolColumnCalc|{{#var:closedCount}}}}
 +
}}
 +
{{clearvar|openlist|closedlist}}</includeonly><noinclude>[[Category:Templates]]
 +
 
 +
{{VenueList|Hi-Tech Land Sega}}
 +
</noinclude>

Latest revision as of 06:53, 16 September 2023