Template: Event
wmau>Samwilson only show icalendar link if page has ID |
m Protected "Template:Event": highly used template ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
||
(13 intermediate revisions by 2 users not shown) | |||
Line 12: | Line 12: | ||
| image = File | | image = File | ||
| attendee_count = Number | | attendee_count = Number | ||
| | | dcw_cost = Number | ||
}}</noinclude><includeonly>{{#cargo_store: _table = events | }}</noinclude><includeonly>{{#cargo_store: _table = events | ||
| start_date = {{{start_date|}}} | | start_date = {{{start_date|}}} | ||
Line 26: | Line 26: | ||
| image = {{{image|}}} | | image = {{{image|}}} | ||
| attendee_count = {{{attendee_count|}}} | | attendee_count = {{{attendee_count|}}} | ||
}}</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 | | 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: | ||
--> <abbr title="Timezone: UTC+{{{timezone}}}"><!-- | --> <abbr title="Timezone: UTC+{{{timezone}}}"><!-- | ||
-->{{#switch: {{{timezone}}} | -->{{#switch: {{{timezone}}} | ||
| | | 5.5 = IST | ||
| UTC <!-- | | UTC <!-- | ||
-->}}<!-- | -->}}<!-- | ||
Line 123: | Line 116: | ||
-->}}<!-- | -->}}<!-- | ||
--><p><!-- | --><p><!-- | ||
--> | -->Event 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:// | --> {{#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><!-- | ||
Line 145: | Line 138: | ||
* Attendee count: '''{{{attendee_count|unknown}}}''' | * Attendee count: '''{{{attendee_count|unknown}}}''' | ||
}}<!-- | }}<!-- | ||
Line 182: | Line 174: | ||
Categories: | Categories: | ||
-->[[Category: | -->[[Category:{{#time: Y | {{{start_date|}}} }} events]]<!-- | ||
-->[[Category: | -->[[Category:{{#time: Y | {{{end_date|}}} }} events]]<!-- | ||
-->[[Category: | -->[[Category:{{{region|{{{state|}}}}}} Events]]<!-- | ||
--><noinclude>{{documentation}}</noinclude> | --><noinclude>{{documentation}}</noinclude> |
Latest revision as of 14:10, 12 November 2024
This template defines the table "events". View table.
Event
Event
Event link: Copy 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: