Difference between revisions of "Template:WhereEvent"

From Culture.si
Line 1: Line 1:
Event.Years.Year IS NOT NULL {{#if:{{{draft|}}}||AND COALESCE(Event.Status,'')=''}} {{#if:{{{before|}}}| and Event.Start <= '{{#timel:c|{{{before}}}}}'
+
Event.Years.Year IS NOT NULL {{#if:{{{draft|}}}||AND COALESCE(Event.Status,'')=''}} {{#if:{{{user|}}}|AND Event.User={{{user|}}}|{{#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:29, 13 January 2025

Event.Years.Year IS NOT NULL AND COALESCE(Event.Status,)= {{#if:|AND Event.User=| and coalesce(Event.End,Event.Start) <= '2025-01-23T01:00:00+01:00' and Event.Country != 'Slovenia'

Event.*