Deoband Community Wikimedia

Template: Event

wmau>Samwilson
only show icalendar link if page has ID
 
Event
Line 26: Line 26:
  | image = {{{image|}}}
  | image = {{{image|}}}
  | attendee_count = {{{attendee_count|}}}
  | attendee_count = {{{attendee_count|}}}
| wmau_cost = {{{wmau_cost|}}}
}}</includeonly>{{#default_form:event}}<!--
}}</includeonly>{{#default_form:event}}<!--
--><templatestyles src="Template:Event/style.css" /><!--
--><templatestyles src="Template:Event/style.css" /><!--
Line 36: Line 35:
-->{{#seo:
-->{{#seo:
  | type        = event
  | type        = event
  | description = {{{short_description|{{{description|A Wikimedia Australia event.}}}}}}
  | description = {{{short_description|{{{description|A DCW event.}}}}}}
  | keywords    = {{{keywords|}}}
  | keywords    = {{{keywords|}}}
  | image      = {{#if:{{{image|}}} | {{filepath:{{{image}}}|800}} }}
  | image      = {{#if:{{{image|}}} | {{filepath:{{{image}}}|800}} }}
Line 84: Line 83:
         -->&#32;<abbr title="Timezone: UTC+{{{timezone}}}"><!--
         -->&#32;<abbr title="Timezone: UTC+{{{timezone}}}"><!--
           -->{{#switch: {{{timezone}}}
           -->{{#switch: {{{timezone}}}
             | 8    = AWST
             | 5.5   = IST
            | 9.5 = ACST
            | 10  = AEST
            | 10.5 = ACST
            | 11  = AEDT
            | 12  = NZST
            | 13  = NZDT
             | UTC <!--
             | UTC <!--
           -->}}<!--
           -->}}<!--
Line 123: Line 116:
   -->}}<!--
   -->}}<!--
   --><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}} }} 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://wikimedia.org.au/wiki/Special:Redirect/page/',_pageID)=description |icalendar name={{FULLPAGENAME}} |filename=Wikimedia Australia event.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://wikimedia.org.au/wiki/Special:Redirect/page/',_pageID)=description |icalendar name={{FULLPAGENAME}} |filename=DCW event.ics }} }}<!--
   --></p><!--
   --></p><!--


Line 145: Line 138:


* Attendee count: '''{{{attendee_count|unknown}}}'''
* Attendee count: '''{{{attendee_count|unknown}}}'''
* Cost to Wikimedia Australia: '''{{{wmau_cost|no cost}}}'''


}}<!--
}}<!--

Revision as of 05:02, 24 February 2024

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

Event

Share 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:


Discuss this page