Template: Event
tweak |
m Protected "Template:Event": highly used template ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
||
(8 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 117: | Line 117: | ||
--><p><!-- | --><p><!-- | ||
-->Event link: <span itemprop="url" class="plainlinks">{{#if: {{{link|}}} | {{{link}}} | [{{canonicalurl:{{FULLPAGENAMEE}} }} Copy link] }}</span><!-- | -->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://dcwwiki.org/Special:Redirect/page/',_pageID)=description |icalendar name={{FULLPAGENAME}} |filename= | --> {{#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 176: | Line 176: | ||
-->[[Category:{{#time: Y | {{{start_date|}}} }} events]]<!-- | -->[[Category:{{#time: Y | {{{start_date|}}} }} events]]<!-- | ||
-->[[Category:{{#time: Y | {{{end_date|}}} }} events]]<!-- | -->[[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: