Template: Event

m adding a break tag
Tag: Reverted
m Reverted edits by Joris (talk) to last revision by Aafi
Tag: Rollback
Line 149: Line 149:


{{{event_metrics}}}
{{{event_metrics}}}
}}<!--
Add region navigation bar.
-->
<br/>
{{navigation header | title = {{{region|{{{state|}}}}}}
|prev = {{#cargo_query:
  | tables            = events
  | fields            = CONCAT('[[',_pageName,']]<br><small>',DATE_FORMAT(start_date, '%e %M %Y'),'</small>')=prev_event
  | where            = _pageID != '{{PAGEID}}' AND region = '{{{region|{{{state|}}}}}}' AND start_date IS NOT NULL AND start_date < '{{{start_date}}}'
  | order by          = start_date DESC
  | limit            = 1
  | default          =
  | more results text =
}}
}}
<br>
|next = {{#cargo_query:
<!--
  | tables            = events
  | fields            = CONCAT('[[',_pageName,']]<br><small>',DATE_FORMAT(start_date, '%e %M %Y'),'</small>')=next_event
  | where            = _pageID != '{{PAGEID}}' AND region = '{{{region|{{{state|}}}}}}' AND start_date IS NOT NULL AND start_date > '{{{start_date}}}'
  | order by          = start_date ASC
  | limit            = 1
  | default          =
  | more results text =
}}
}}<!--
 
Categories:
Categories:
-->[[Category:{{#time: Y | {{{start_date|}}} }} events]]<!--
-->[[Category:{{#time: Y | {{{start_date|}}} }} events]]<!--

Revision as of 04:58, 13 November 2025

This template defines the table "events". View table.

Event

Link (if applicable): – or download calendar item (.ics)


[edit] Template documentation

Once an event name has been supplied in the following box and you have clicked "Create Event Page", you will find a new page titled "Creating PAGENAME", containing a preloaded template information which you need to fill in accordance with the guidance given. The guidelines are included within <!-- and --> and your responses need to remain out of them. Any text between <!-- and --> does not appear in the reading mode. The following image has some ideas that could help: