Difference between revisions of "Template:Event"

From Wikimedia Australia
Jump to navigation Jump to search
(Also use keyword as category)
(Add .ics link)
Line 79: Line 79:
 
     -->Location: <span itemprop="name">{{{location}}}</span><!--
 
     -->Location: <span itemprop="name">{{{location}}}</span><!--
 
   --></p>}}<!--
 
   --></p>}}<!--
   --><p>Share link: <span itemprop="url" class="plainlinks">{{#if: {{{link|}}} | {{{link}}} | {{canonicalurl:{{FULLPAGENAMEE}} }} }}</span></p><!--
+
   --><p><!--
 +
    -->Share link: <span itemprop="url" class="plainlinks">{{#if: {{{link|}}} | {{{link}}} | {{canonicalurl:{{FULLPAGENAMEE}} }} }}</span><!--
 +
    --> – or {{#cargo_query: tables=events |where=_pageId={{PAGEID}} |format=icalendar |link text=download calendar item (.ics) |fields=_pageID,_pageName,start_date=start,end_date=end,location,CONCAT('More information: https://wikimedia.org.au/wiki/Special:Redirect/page/',_pageID)=description |filename={{FULLPAGENAME}} }}<!--
 +
  --></p><!--
 
   --><div itemprop="description">{{{description|}}}</div><!--
 
   --><div itemprop="description">{{{description|}}}</div><!--
  

Revision as of 20:42, 19 October 2020

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


Event
(Please set 'region' parameter.)
Event

Share link: – or download calendar item (.ics)

[edit] Template-info.svg Template documentation

Create a new event:

See also