Difference between revisions of "Template:WhereEvent"
Line 4: | Line 4: | ||
| 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 Event.Start >= '{{#timel:c|yesterday}}' | | 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}}' | ||
+ | | ignore = | ||
}} {{#switch:{{{year|}}} | }} {{#switch:{{{year|}}} | ||
| = | | = | ||
Line 11: | Line 11: | ||
| upcoming = | | upcoming = | ||
| current = | | current = | ||
+ | | ignore = | ||
| #default = and (Event.Years='Year_{{#cast:integer|{{{year}}}}}') | | #default = and (Event.Years='Year_{{#cast:integer|{{{year}}}}}') | ||
}} {{#switch:{{{category|}}} | }} {{#switch:{{{category|}}} | ||
Line 23: | Line 24: | ||
}}<noinclude> | }}<noinclude> | ||
− | {{whereEvent|draft=true|user=Zocky|year= | + | {{whereEvent|draft=true|user=Zocky|year=ignore}}}} |
− | {{#data:grid|Event.*|#where={{whereEvent|draft=true|user=Zocky|year= | + | {{#data:grid|Event.*|#where={{whereEvent|draft=true|user=Zocky|year=ignore}}}}</noinclude> |
Revision as of 07:50, 13 January 2025
Event.Years.Year IS NOT NULL AND COALESCE(Event.Status,)= and coalesce(Event.End,Event.Start) <= '2025-01-22T01:00:00+01:00' and Event.Country != 'Slovenia'
Event.Years.Year IS NOT NULL AND Event.User='Zocky' and Event.Country != 'Slovenia'}}
Event.* | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
96ce09ac9d57e7b176942d77c6ec7181fcfe009a6b203197e44373d4d68ae997 | 96ce09ac9d57e7b176942d77c6ec7181fcfe009a6b203197e44373d4d68ae997 | 96ce09ac9d57e7b176942d77c6ec7181fcfe009a6b203197e44373d4d68ae997 | Record:Event/1 | Culture.si | 2025-01-16 00:00:00 | 2025-01-23 00:00:00 | Test2 | /w/index.php?title=Record:Event/1&action=formedit | Zocky | draft |