Difference between revisions of "VenueList"

From Sega Retro

 
(8 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=
 +
|limit=1000
 +
}}{{#if:{{#var:openlist}}|
 +
<h3>Open</h3>
 +
{{multicol|
 +
{{#var:openlist}}
 +
|cols={{MulticolColumnCalc|{{#var:openCount}}}}
 
}}
 
}}
  
{{#if:{{#var:openlist}}|
+
<h3>Closed</h3>
===Open===
+
|}}{{multicol|
{{#var:openlist}}
 
}}
 
{{#if:{{#var:openlist}}|
 
===Closed===
 
 
{{#var:closedlist}}
 
{{#var:closedlist}}
 +
|cols={{MulticolColumnCalc|{{#var:closedCount}}}}
 
}}
 
}}
 
+
{{clearvar|openlist|closedlist}}</includeonly><noinclude>[[Category:Templates]]
<noinclude>[[Category:Sega Retro templates]]
 
  
 
{{VenueList|Hi-Tech Land Sega}}
 
{{VenueList|Hi-Tech Land Sega}}
 
</noinclude>
 
</noinclude>

Latest revision as of 06:53, 16 September 2023