Difference between revisions of "VenueList"

From Sega Retro

Line 1: Line 1:
<includeonly>{{#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 8: Line 8:
 
|more results text=
 
|more results text=
 
}}
 
}}
 
 
===Open===
 
===Open===
 +
{{multicol|
 
{{#var:openlist}}
 
{{#var:openlist}}
 +
|cols={{#ifexpr:{{#var:openCount}} > 8|{{#ifexpr:{{#var:openCount}} > 20|{{#ifexpr:{{#var:openCount}} > 50|4|3}}|2}}|}}
 +
}}
  
 
===Closed===
 
===Closed===
 +
{{multicol|
 
{{#var:closedlist}}
 
{{#var:closedlist}}
 
+
|cols={{#ifexpr:{{#var:closedCount}} > 8|{{#ifexpr:{{#var:closedCount}} > 20|{{#ifexpr:{{#var:closedCount}} > 50|4|3}}|2}}|}}
 +
}}
 
{{clearvar|openlist|closedlist}}</includeonly><noinclude>[[Category:Sega Retro templates]]
 
{{clearvar|openlist|closedlist}}</includeonly><noinclude>[[Category:Sega Retro templates]]
  
 
{{VenueList|Hi-Tech Land Sega}}
 
{{VenueList|Hi-Tech Land Sega}}
 
</noinclude>
 
</noinclude>

Revision as of 16:48, 5 November 2020


Open

Closed