Add an event: Difference between revisions
imported>B42 (Created page with "== One-time events == To add an event, create a page with the event name as a title. Then place the Event template at the beginning, with the date of the e...") |
imported>B42 m (Spaces) |
||
Line 1: | Line 1: | ||
== One-time events == | == One-time events == | ||
To add an event, create a page with the event name as a title. Then place the [[Template:Event|Event]] template at the beginning, with the date of the event as an argument. Like this: | To add an event, create a page with the event name as a title (don't be afraid to use spaces/punctuation). Then place the [[Template:Event|Event]] template at the beginning, with the date of the event as an argument. Like this: | ||
<nowiki>{{Event|1970-08-09 10:00}}</nowiki> | <nowiki>{{Event|1970-08-09 10:00}}</nowiki> |
Revision as of 01:29, 9 January 2013
One-time events
To add an event, create a page with the event name as a title (don't be afraid to use spaces/punctuation). Then place the Event template at the beginning, with the date of the event as an argument. Like this:
{{Event|1970-08-09 10:00}}
The event should now show up in the event list.
Repeating events
Create a page and put the RecurringEvent template at the beginning. The template takes several arguments.
- start
- the date of the first event instance
- period
- how many days between each event
- unit (optional)
- unit in which the period is counted instead of days (values: week, month, ...)
- end (optional)
- date after which no events of this type occur
- include (optional)
- additional dates to include (; separated)
- exclude
- dates to be excluded (; separated)
Example:
{{RecurringEvent |start=2013-01-10, 19:00 |date description=Every thursday at 19:00. |period=7 }}