Template: Event list

(fix for UTC times)
(rm time, region, and location)
Line 2: Line 2:
  | tables  = events
  | tables  = events
  | format  = ul
  | format  = ul
  | fields = CONCAT('<strong>(',region,') ',DATE_FORMAT(DATE_ADD(start_date, INTERVAL timezone HOUR), '%Y %M %e, %W %l:%i%p'),'</strong> — [[',_pageName,']] — ', IFNULL(location, ''), '<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), '%Y %M %e, %W'), '<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 09:01, 9 June 2021

[create] Template documentation
Discuss this page