Difference between revisions of "Culture.si:Events"

From Culture.si
 
(6 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
| when={{#switch:{{{year}}}
 
| when={{#switch:{{{year}}}
 
   | upcoming=Upcoming
 
   | upcoming=Upcoming
 +
  | current=Current
 
   | #default={{{year}}}
 
   | #default={{{year}}}
 
   }}
 
   }}
 
| country={{#switch:{{{3|}}}
 
| country={{#switch:{{{3|}}}
 
   | all=
 
   | all=
 +
  | international=
 
   | #default={{{3|}}}
 
   | #default={{{3|}}}
 
   }}
 
   }}
Line 19: Line 21:
 
| category={{#switch:{{{2|}}}
 
| category={{#switch:{{{2|}}}
 
   | all=
 
   | all=
   | #default={{{3|}}}
+
   | #default={{{2|}}}
 
   }}
 
   }}
 
| what={{#switch:{{{category}}}
 
| what={{#switch:{{{category}}}
Line 36: Line 38:
 
<ul class="events">
 
<ul class="events">
 
{{Worldwide
 
{{Worldwide
|country={{#ifeq:{{{3|all}}}|all|international|{{{3}}}}}
+
|country={{{country}}}
|category={{#ifeq:{{{2|all}}}|all||{{{2}}}}}
+
|category={{{category}}}
 
|year={{{year}}}
 
|year={{{year}}}
|limit=10
+
|limit=200
 
|offset={{{4|}}}
 
|offset={{{4|}}}
 
|empty=
 
|empty=
 
----
 
----
There are currently no events listed {{#ifeq:{{{3|international}}}|international||&nbsp;in {{{3|}}}}} in {{{1|{{CURRENTYEAR}}}}}{{#ifeq:{{{2|all}}}|all||for {{{2|}}}}}.
+
There are currently no {{{year}}} {{{what}}} events {{{where}}}.
 
----
 
----
 
|more = {{load_more_link}}
 
|more = {{load_more_link}}
Line 66: Line 68:
 
-->
 
-->
  
{{#if:{{LOGGEDIN}}|
+
{{EventDataPageLinks}}
<div class="fullwidth event-year-months">
 
{{#arr:loop
 
  |k=year
 
  |{{#arr:series|{{#time:Y|now+3 months}}|2010}}
 
  |each=
 
<div class="year">
 
 
 
=={{{year}}}==
 
 
 
<ul>{{#arr:loop
 
|kk=month
 
|{{#arr:series|1|12}}
 
|each=<li>{{padleft:{{{month}}}|2}} [{{fullurl:Culture.si:Archive of events/{{{year}}}/{{padleft:{{{month}}}|2}}|action=edit}} (edit)]
 
}}</ul>
 
</div>
 
}}
 
</div>
 
}}
 
  
 
</div>
 
</div>

Latest revision as of 23:12, 2 October 2023





Upcoming events worldwide



May