Difference between revisions of "Culture.si:Events"

From Culture.si
Line 1: Line 1:
 +
{{{=
 +
| year={{#switch:{{{1|upcoming}}}
 +
  | upcoming=upcoming
 +
  | all=
 +
  | #default={{{1}}}
 +
  }}
 +
| when={{#switch:{{{year}}}
 +
  | upcoming=Upcoming
 +
  | #default={{{year}}}
 +
  }}
 +
| country={{#switch:{{{3|}}}
 +
  | all=
 +
  | #default={{{3|}}}
 +
  }}
 +
| where={{#switch:{{{country}}}
 +
  | =worldwide
 +
  | #default=in {{{country}}}
 +
  }}
 +
| category={{#switch:{{{2|}}}
 +
  | all=
 +
  | #default={{{3|}}}
 +
  }}
 +
| what={{#switch:{{{category}}}
 +
  | =
 +
  | #default={{{category}}}
 +
  }}
 +
| title={{{when}}} {{{what}}} events {{{where}}}
 +
}}}
 
{{#prop:set|nobalast|0}}
 
{{#prop:set|nobalast|0}}
 
__NOTOC__{{VIRTUALSUBPAGES}}
 
__NOTOC__{{VIRTUALSUBPAGES}}
Line 5: Line 33:
 
<div>
 
<div>
 
{{archiveOfEvents}}
 
{{archiveOfEvents}}
=={{#ifeq:{{{1|all}}}|upcoming|Upcoming events {{#ifeq:{{{3|international}}}|international|worldwide | in {{{3|}}}}}|{{#ifeq:{{{3|international}}}|international|Worldwide events |Events in {{{3|}}}}}}} {{#switch:{{{1|all}}}|all=|upcoming=|#default = in {{{1|{{CURRENTYEAR}}}}}}} {{#ifeq:{{{2|all}}}|all||for {{{2|}}}}}==
+
== {{{title}}} ==
 
<ul class="events">
 
<ul class="events">
 
{{Worldwide
 
{{Worldwide
 
|country={{#ifeq:{{{3|all}}}|all|international|{{{3}}}}}
 
|country={{#ifeq:{{{3|all}}}|all|international|{{{3}}}}}
 
|category={{#ifeq:{{{2|all}}}|all||{{{2}}}}}
 
|category={{#ifeq:{{{2|all}}}|all||{{{2}}}}}
|year={{#ifeq:{{{1|all}}}|all||{{{1}}}}}
+
|year={{{year}}}
|limit=200
+
|limit=10
 
|offset={{{4|}}}
 
|offset={{{4|}}}
 
|empty=
 
|empty=

Revision as of 17:50, 18 September 2023





Upcoming events worldwide