Difference between revisions of "Template:Event"

From Wikimedia Australia
Jump to navigation Jump to search
(form link)
(Change 'state' to 'region' so we can add national and international events.)
Line 1: Line 1:
 
<noinclude>{{#cargo_declare: | _table = events
 
<noinclude>{{#cargo_declare: | _table = events
| location = Wikitext
 
 
  | start_date = Datetime
 
  | start_date = Datetime
 
  | end_date = Datetime
 
  | end_date = Datetime
 
  | timezone = Number
 
  | timezone = Number
  | state = Page
+
  | region = String
 +
| location = Wikitext
 
  | description = Wikitext
 
  | description = Wikitext
 
  | link = URL
 
  | link = URL
 
  | apg_funding = Number
 
  | apg_funding = Number
 
}}</noinclude><includeonly>{{#cargo_store: _table = events
 
}}</noinclude><includeonly>{{#cargo_store: _table = events
| location = {{{location|}}}
 
 
  | start_date = {{{start_date|}}}
 
  | start_date = {{{start_date|}}}
 
  | end_date = {{{end_date|}}}
 
  | end_date = {{{end_date|}}}
 
  | timezone = {{{timezone|}}}
 
  | timezone = {{{timezone|}}}
  | state = {{{state|}}}
+
  | region = {{{region|{{{state|}}}}}}
 +
| location = {{{location|}}}
 
  | description = {{{description|}}}
 
  | description = {{{description|}}}
 
  | link = {{{link|}}}
 
  | link = {{{link|}}}
Line 39: Line 39:
 
   -->}}<!--
 
   -->}}<!--
  
   State:
+
   Region (used to be called 'state'):
   --> ({{{state}}})<!--
+
   --> ({{{region|{{{state|}}}}}})<!--
  
 
   Event title (page name):
 
   Event title (page name):
Line 55: Line 55:
 
Categories:
 
Categories:
 
-->[[Category:Events in {{#time: Y | {{{start_date|}}} }}]]<!--
 
-->[[Category:Events in {{#time: Y | {{{start_date|}}} }}]]<!--
-->[[Category:Events in {{{state}}}]]<!--
+
-->[[Category:Events in {{#time: Y | {{{end_date|}}} }}]]<!--
 +
-->[[Category:Events in {{{region|{{{state|}}}}}}]]<!--
 
--><noinclude>{{documentation}}</noinclude>
 
--><noinclude>{{documentation}}</noinclude>

Revision as of 10:14, 27 January 2019

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

Event
()
Event

Location: {{{location}}}

Share link:

[edit] Template-info.svg Template documentation

Create a new event:

See also