Difference between revisions of "Template:EventsForThisPage"
(7 intermediate revisions by the same user not shown) | |||
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 33: | Line 31: | ||
| first = <ul class="events"> | | first = <ul class="events"> | ||
| each = {{#eval:wrap|{{{template|ListEvent}}}}} | | each = {{#eval:wrap|{{{template|ListEvent}}}}} | ||
− | | last = {{#eval:html|<a | + | | last = </ul>{{#eval:html|<a class="show-more-events more_go">Show more</a>}} |
− | }} | + | }}{{#arr:dataloop |
− | |||
− | {{#arr:dataloop | ||
|{{#data:select | |{{#data:select | ||
| Description=Event.Description | | Description=Event.Description | ||
Line 56: | 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 | + | | last = </ul>{{#eval:html|<a class="show-more-events more_go">Show more</a>}}}}</div> |
− | |||
− | </div> |