Difference between revisions of "Template:WhereEvent"
Line 1: | Line 1: | ||
TRUE {{#if:{{{before|}}}| and Event.Start <= '{{#timel:c|{{{before}}}}}'}} {{#if:{{{after|}}}| and coalesce(Event.End,Event.Start) >= '{{#timel:c|{{{after}}}}}'}} {{#switch:{{{year|}}}||all= | TRUE {{#if:{{{before|}}}| and Event.Start <= '{{#timel:c|{{{before}}}}}'}} {{#if:{{{after|}}}| and coalesce(Event.End,Event.Start) >= '{{#timel:c|{{{after}}}}}'}} {{#switch:{{{year|}}}||all= | ||
− | |upcoming = and coalesce(Event.End,Event.Start) >= '{{#timel:c|yesterday}}'|#default = Event.Years='Year_{{#cast:integer|{{{year}}}}}')}} {{#switch:{{{category|}}}|=|all=|#default = and Event.Tag = '{{#str:addslashes|{{#title:pagenamek|{{{category}}}}}}}' | + | |upcoming = and coalesce(Event.End,Event.Start) >= '{{#timel:c|yesterday}}'|#default = and Event.Years='Year_{{#cast:integer|{{{year}}}}}')}} {{#switch:{{{category|}}}|=|all=|#default = and Event.Tag = '{{#str:addslashes|{{#title:pagenamek|{{{category}}}}}}}' |
}} {{#switch:{{{country|}}}|=|all=|international= and Event.Country != 'Slovenia'|#default = and Event.Country = '{{#str:addslashes|{{#title:pagenamek|{{{country}}}}}}}' | }} {{#switch:{{{country|}}}|=|all=|international= and Event.Country != 'Slovenia'|#default = and Event.Country = '{{#str:addslashes|{{#title:pagenamek|{{{country}}}}}}}' | ||
}} | }} |
Revision as of 23:58, 30 July 2014
TRUE