Template: Event
(Add .ics link) |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
| location = Wikitext | | location = Wikitext | ||
| coordinates = Coordinates | | coordinates = Coordinates | ||
| short_description = Wikitext | |||
| description = Wikitext | | description = Wikitext | ||
| keywords = List (,) of String | | keywords = List (,) of String | ||
Line 18: | Line 19: | ||
| location = {{{location|}}} | | location = {{{location|}}} | ||
| coordinates = {{{coordinates|}}} | | coordinates = {{{coordinates|}}} | ||
| short_description = {{{short_description|}}} | |||
| description = {{{description|}}} | | description = {{{description|}}} | ||
| keywords = {{{keywords|}}} | | keywords = {{{keywords|}}} | ||
Line 81: | Line 83: | ||
--><p><!-- | --><p><!-- | ||
-->Share link: <span itemprop="url" class="plainlinks">{{#if: {{{link|}}} | {{{link}}} | {{canonicalurl:{{FULLPAGENAMEE}} }} }}</span><!-- | -->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 | | --> – 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 |icalendar name={{FULLPAGENAME}} |filename=Wikimedia Australia event.ics }}<!-- | ||
--></p><!-- | --></p><!-- | ||
--><div itemprop="description">{{{description|}}}</div><!-- | --><div itemprop="description" style="font-size:larger">{{{short_description|{{{description|}}}}}}</div><!-- | ||
Keywords: | Keywords: | ||
Line 92: | Line 94: | ||
--> | <div style="text-align:center; margin:1em;">{{#cargo_display_map: | point = {{{coordinates}}} | zoom = 14 | height = 200px | width = 100% }}</div> <!-- | --> | <div style="text-align:center; margin:1em;">{{#cargo_display_map: | point = {{{coordinates}}} | zoom = 14 | height = 200px | width = 100% }}</div> <!-- | ||
-->}}<!-- | -->}}<!-- | ||
Description (long; only shown if short desc is given): | |||
-->{{#if: {{{short_description|}}} | <div style="text-align:left; max-width:66ex; margin:auto;">{{{description|}}}</div> }}<!-- | |||
--></div><!-- | --></div><!-- |
Revision as of 06:54, 14 April 2021
This template defines the table "events". View table.
Event
(Please set 'region' parameter.)
Event
Share link: https://wikimedia.org.au/wiki/Template:Event – or download calendar item (.ics)