Difference between revisions of "Template:EventsForThisPage"
Line 47: | Line 47: | ||
| Country = {{groupLinks|Event.Country}} | | Country = {{groupLinks|Event.Country}} | ||
| #groupby = 1,2,3,4,5,6,7,8,9 | | #groupby = 1,2,3,4,5,6,7,8,9 | ||
− | | #where = {{{fld}}}={{#cast:ref|{{{1|{{{page|{{PAGENAME}}}}}}}}|db}} and (Event.Country!='Slovenia') and to_char(coalesce(Event.End,Event.Start),'YYYYMMDD') < '{{#timel:Ymd|{{CURRENTDATE}}}}' | + | | #where = {{{fld}}}={{#cast:ref|{{{1|{{{page|{{PAGENAME}}}}}}}}|db}} and (Event.Country!='Slovenia') and to_char(coalesce(Event.End,Event.Start),'YYYYMMDD') < '{{#timel:Ymd|{{CURRENTDATE}}}}'| #limit = 150 |
− | |||
| #orderby = Event.Start DESC}} | | #orderby = Event.Start DESC}} | ||
| first = <div class="events-title">Past Events</div><ul class="events"> | | first = <div class="events-title">Past Events</div><ul class="events"> | ||
| each = {{#eval:wrap|{{{template|ListEvent}}}}} | | each = {{#eval:wrap|{{{template|ListEvent}}}}} | ||
| last = </ul>{{#eval:html|<a class="show-more-events more_go">Show more</a>}}}}</div> | | last = </ul>{{#eval:html|<a class="show-more-events more_go">Show more</a>}}}}</div> |