Template: Event list

(rm time, region, and location)
(change date format)
Line 2: Line 2:
  | tables  = events
  | tables  = events
  | format  = ul
  | format  = ul
  | fields = CONCAT('<strong>[[',_pageName,']]</strong> — ',DATE_FORMAT(DATE_ADD(start_date, INTERVAL timezone HOUR), '%Y %M %e, %W'), '<br /><small>', IFNULL(short_description, '<em>No description</em>'), '</small>' )=foo
  | fields = CONCAT('<strong>[[',_pageName,']]</strong> — ',DATE_FORMAT(DATE_ADD(start_date, INTERVAL timezone HOUR), '%W %e %M %Y'), '<br /><small>', IFNULL(short_description, '<em>No description</em>'), '</small>' )=foo
  | where    = {{{where|end_date > CURRENT_DATE}}}
  | where    = {{{where|end_date > CURRENT_DATE}}}
  | order by = {{{order by|start_date}}}
  | order by = {{{order by|start_date}}}

Revision as of 00:37, 2 February 2022

[create] Template documentation
Discuss this page