Difference between revisions of "Template:Event list"

From Wikimedia Australia
Jump to navigation Jump to search
Line 1: Line 1:
{{#cargo_query:
+
<includeonly>{{#cargo_query:
 
  | tables  = events
 
  | tables  = events
 
  | format  = ul
 
  | format  = ul
 
  | fields  = CONCAT('<strong>(',region,') ',DATE_FORMAT(start_date, '%Y %M %e, %W'),'</strong> — [[',_pageName,']] — ', IFNULL(location, ''), '<br /><small>', IFNULL(description,'<em>No description</em>'),'</small>' )
 
  | fields  = CONCAT('<strong>(',region,') ',DATE_FORMAT(start_date, '%Y %M %e, %W'),'</strong> — [[',_pageName,']] — ', IFNULL(location, ''), '<br /><small>', IFNULL(description,'<em>No description</em>'),'</small>' )
 
  | where    = {{{where|}}}
 
  | where    = {{{where|}}}
  | order by = start_date {{{order by|}}}
+
  | order by = {{{order by|}}}
 
  | limit    = {{{limit|}}}
 
  | limit    = {{{limit|}}}
 
  | more results text =
 
  | more results text =
}}
+
}}</includeonly>

Revision as of 17:14, 18 February 2019