Difference between revisions of "Template:Worldwide"

From Culture.si
Line 1: Line 1:
{{#data:grid|Event.start|Event.end|#limit=4|#where={{{where|{{whereEvent|year={{{year|all}}}|before={{{before|}}}|after={{{after|}}}|category={{{category|all}}}|country={{{country|all}}}}}}}}}}
+
{{{ =  
 +
| where = {{{where|{{whereEvent|year={{{year|all}}}|before={{{before|}}}|after={{{after|}}}|category={{{category|all}}}|country={{{country|all}}}}}}}}
 +
| order_by = {{{order_by|Event.Start desc, Event.End desc}}}
 +
}}}
 +
{{{where}}}
 +
{{#data:grid|Event.start|Event.end|#limit=4|#where={{{where}}}|#orderby={{{order_by}}}}}
 
{{#array:dataloop
 
{{#array:dataloop
 
| {{#data:select
 
| {{#data:select
Line 15: Line 20:
 
   | Country = {{groupLinks|Event.Country}}
 
   | Country = {{groupLinks|Event.Country}}
 
   | xPerformer = {{groupLinks|Event.Performer}}
 
   | xPerformer = {{groupLinks|Event.Performer}}
   | #where = {{{where|{{whereEvent|year={{{year|all}}}|before={{{before|}}}|after={{{after|}}}|category={{{category|all}}}|country={{{country|all}}}}}}}}
+
   | #where = {{{where}}}
 
   |#limit = {{{limit|50}}}
 
   |#limit = {{{limit|50}}}
 
   |#offset = {{#expr:{{{offset|0}}}*{{{limit|50}}}}}
 
   |#offset = {{#expr:{{{offset|0}}}*{{{limit|50}}}}}
   |#orderby = {{{order_by|Event.Start desc, Event.End desc}}}
+
   |#orderby = {{{order_by}}}  
 
   |#groupby = Event.Description, Event.Start, Event.End, Event.Editcall, Event.Url, Event.Organizer_url, Event.More_url, Event.Work_url, Event.Festival
 
   |#groupby = Event.Description, Event.Start, Event.End, Event.Editcall, Event.Url, Event.Organizer_url, Event.More_url, Event.Work_url, Event.Festival
 
   }}
 
   }}

Revision as of 23:36, 21 February 2021

Event.Years.Year IS NOT NULL and coalesce(Event.End,Event.Start) <= '2024-11-22T01:00:00+01:00'

Event.startEvent.end
2024-11-21 00:00:00
2024-11-17 00:00:00
2024-11-16 00:00:00
2024-11-15 00:00:002024-11-16 00:00:00