Difference between revisions of "VenueList"

From Sega Retro

 
(2 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
|more results text=
 
|more results text=
 
|limit=1000
 
|limit=1000
}}
+
}}{{#if:{{#var:openlist}}|
===Open===
+
<h3>Open</h3>
 
{{multicol|
 
{{multicol|
 
{{#var:openlist}}
 
{{#var:openlist}}
|cols={{#ifexpr:{{#var:openCount}} > 8|{{#ifexpr:{{#var:openCount}} > 20|{{#ifexpr:{{#var:openCount}} > 50|4|3}}|2}}|}}
+
|cols={{MulticolColumnCalc|{{#var:openCount}}}}
 
}}
 
}}
  
===Closed===
+
<h3>Closed</h3>
{{multicol|
+
|}}{{multicol|
 
{{#var:closedlist}}
 
{{#var:closedlist}}
|cols={{#ifexpr:{{#var:closedCount}} > 8|{{#ifexpr:{{#var:closedCount}} > 20|{{#ifexpr:{{#var:closedCount}} > 50|4|3}}|2}}|}}
+
|cols={{MulticolColumnCalc|{{#var:closedCount}}}}
 
}}
 
}}
 
{{clearvar|openlist|closedlist}}</includeonly><noinclude>[[Category:Templates]]
 
{{clearvar|openlist|closedlist}}</includeonly><noinclude>[[Category:Templates]]

Latest revision as of 06:53, 16 September 2023