Difference between revisions of "Template:WhereEvent"

From Culture.si
Line 1: Line 1:
Event.Years.Year IS NOT NULL {{#if:{{{draft|}}}|| AND Event.Status!='draft'}}{{#if:{{{before|}}}| and Event.Start <= '{{#timel:c|{{{before}}}}}'
+
Event.Years.Year IS NOT NULL {{#if:{{{draft|}}}||}} {{#if:{{{before|}}}| and Event.Start <= '{{#timel:c|{{{before}}}}}'
 
}} {{#if:{{{after|}}}| and Event.Start >= '{{#timel:c|{{{after}}}}}'
 
}} {{#if:{{{after|}}}| and Event.Start >= '{{#timel:c|{{{after}}}}}'
 
}} {{#switch:{{{year|}}}
 
}} {{#switch:{{{year|}}}

Revision as of 07:10, 13 January 2025

Event.Years.Year IS NOT NULL and coalesce(Event.End,Event.Start) <= '2025-01-23T01:00:00+01:00' and Event.Country != 'Slovenia'