Difference between revisions of "Template:ArchiveOfEvents"

From Culture.si
(restored by csi_restorechanges)
 
(4 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
{{{realpage={{#cgi:0|{{FULLPAGENAME}}}}
 
{{{realpage={{#cgi:0|{{FULLPAGENAME}}}}
 
|page = {{#cgi:0|{{FULLROOTPAGENAME}}}}
 
|page = {{#cgi:0|{{FULLROOTPAGENAME}}}}
|year = {{#cgi:1|all}}
+
|year = {{#cgi:1|upcoming}}
 
|category = {{#cgi:2|all}}
 
|category = {{#cgi:2|all}}
 
|country = {{#if:{{{nocountry|}}}|Slovenia|{{#cgi:3|international}}}}
 
|country = {{#if:{{{nocountry|}}}|Slovenia|{{#cgi:3|international}}}}
Line 19: Line 19:
 
}})</small>
 
}})</small>
 
}}
 
}}
+
{{#title:link|{{{page}}}/current/{{{category}}}/{{{country_url}}}
 +
|
 +
|current <small>({{#data:selectfield
 +
|c = count(Event.#)
 +
|#where = {{whereEvent|year=current|category={{{category}}}|country={{{country}}}}}
 +
}})</small>
 +
}}
 
{{#arr:dataloop
 
{{#arr:dataloop
 
|{{#data:select
 
|{{#data:select
Line 28: Line 34:
 
|#where = {{whereEvent|category={{{category}}}|country={{{country}}}}}
 
|#where = {{whereEvent|category={{{category}}}|country={{{country}}}}}
 
}}
 
}}
|each = {{#title:link|{{{page}}}/{{{year}}}/{{{category}}}/{{{country_url}}}
+
|each = {{#title:link|{{{page}}}/{{{Year}}}/{{{category}}}/{{{country_url}}}
 
|
 
|
 
|{{{Year}}} <small>({{{Count}}})</small>
 
|{{{Year}}} <small>({{{Count}}})</small>

Latest revision as of 17:43, 27 September 2023