Template: Event

m Protected "Template:Event": highly used template ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
tweaks
Line 84: Line 84:
           -->{{#switch: {{{timezone}}}
           -->{{#switch: {{{timezone}}}
             | 5.5    = IST
             | 5.5    = IST
            | 6 = DST
             | UTC <!--
             | UTC <!--
           -->}}<!--
           -->}}<!--
Line 116: Line 117:
   -->}}<!--
   -->}}<!--
   --><p><!--
   --><p><!--
     -->Event link: <span itemprop="url" class="plainlinks">{{#if: {{{link|}}} | {{{link}}} | [{{canonicalurl:{{FULLPAGENAMEE}} }} Copy link] }}</span><!--
     -->Zoom link: <span itemprop="url" class="plainlinks">{{#if: {{{link|}}} | {{{link}}} | [{{canonicalurl:{{FULLPAGENAMEE}} }} Copy link] }}</span><!--
     --> {{#if: {{PAGEID}} | – 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://dcwwiki.org/Special:Redirect/page/',_pageID)=description |icalendar name={{FULLPAGENAME}} |filename={{FULLPAGENAME}}.ics }} }}<!--
     --> {{#if: {{PAGEID}} | – 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://dcwwiki.org/Special:Redirect/page/',_pageID)=description |icalendar name={{FULLPAGENAME}} |filename={{FULLPAGENAME}}.ics }} }}<!--
   --></p><!--
   --></p><!--

Revision as of 00:14, 12 April 2025

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

Event

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


[edit] Template documentation

Once an event name has been supplied in the following box and you have clicked "Create Event Page", you will find a new page titled "Creating PAGENAME", containing a preloaded template information which you need to fill in accordance with the guidance given. The guidelines are included within <!-- and --> and your responses need to remain out of them. Any text between <!-- and --> does not appear in the reading mode. The following image has some ideas that could help: