Difference between revisions of "Template:WhereEvent"
Line 5: | Line 5: | ||
}} | }} | ||
{{#switch:{{{year|}}} | {{#switch:{{{year|}}} | ||
− | | current = and Event.Start<='{{#timel:c|yesterday}}' and Event.End>='{{#timel:c|today}}' | + | | current = and Event.Start <='{{#timel:c|yesterday}}' and Event.End>='{{#timel:c|today}}' |
− | | upcoming = and | + | | upcoming = and Event.Start >= '{{#timel:c|yesterday}}' |
| #default = and coalesce(Event.End,Event.Start) <= '{{#timel:c|today}}' | | #default = and coalesce(Event.End,Event.Start) <= '{{#timel:c|today}}' | ||
}} | }} |
Revision as of 17:36, 18 September 2023
TRUE
and coalesce(Event.End,Event.Start) <= '2024-11-22T01:00:00+01:00'
and Event.Country != 'Slovenia'