Difference between revisions of "VenueList"

From Sega Retro

 
(9 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]]
+
|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}}
 
{{VenueList|Hi-Tech Land Sega}}
 
</noinclude>
 
</noinclude>

Latest revision as of 06:53, 16 September 2023