Difference between revisions of "Template:EventsForThisPage"

From Culture.si
Line 1: Line 1:
{{{fld=Event.{{ucfirst:{{{field|Related}}}}}}}}
+
{{{fld=Event.{{ucfirst:{{{field|Related}}}}}}}}{{{pg={{{page|}}}}}}{{#arr:dataloop
{{{pg={{{page|}}}}}}
 
{{#arr:dataloop
 
 
|{{#data:select
 
|{{#data:select
 
  | Event.#
 
  | Event.#
Line 54: Line 52:
 
| 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 = {{#eval:html|<a href="#" class="show-more-events">Show more</a></ul>}}}}
+
| last = {{#eval:html|<a href="#" class="show-more-events">Show more</a></ul>}}}}</div>
 
</div>
 

Revision as of 20:06, 27 February 2023