Template: Event list

(temp fix for server time being +11)
(short_description)
Line 2: Line 2:
  | tables  = events
  | tables  = events
  | format  = ul
  | format  = ul
  | fields  = CONCAT('<strong>(',region,') ',DATE_FORMAT(DATE_ADD(start_date, INTERVAL timezone - 11 HOUR), '%Y %M %e, %W %l:%i%p'),'</strong> — [[',_pageName,']] — ', IFNULL(location, ''), '<br /><small>', IFNULL(description,'<em>No description</em>'),'</small>' )
  | fields  = CONCAT('<strong>(',region,') ',DATE_FORMAT(DATE_ADD(start_date, INTERVAL timezone - 11 HOUR), '%Y %M %e, %W %l:%i%p'),'</strong> — [[',_pageName,']] — ', IFNULL(location, ''), '<br /><small>', IFNULL(short_description, IFNULL(description, '<em>No description</em>')),'</small>' )
  | 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 10:21, 18 March 2021

[create] Template documentation
Discuss this page