Template:Event

From syn2cat - HackerSpace.lu
(Difference between revisions)
Jump to: navigation, search
m (fixed recurring event stuff)
Line 79: Line 79:
 
{{#ifeq: {{{recurring|}}} | bi-weekly | {{RecurringEvent | startDate={{{from}}} | endDate={{{till}}} | unit=week | period=2 }} }}
 
{{#ifeq: {{{recurring|}}} | bi-weekly | {{RecurringEvent | startDate={{{from}}} | endDate={{{till}}} | unit=week | period=2 }} }}
 
{{#ifeq: {{{recurring|}}} | monthly | {{RecurringEvent | startDate={{{from}}} | endDate={{{till}}} | unit=month | period=1 }} }}
 
{{#ifeq: {{{recurring|}}} | monthly | {{RecurringEvent | startDate={{{from}}} | endDate={{{till}}} | unit=month | period=1 }} }}
{{#ifeq: {{{recurring|}}} | xofmonth | {{RecurringEvent | startDate={{{from}}} | endDate={{{till}}} | unit=xofmonth | period=1 }} }}
+
{{#ifeq: {{{recurring|}}} | dayofweekinmonth | {{RecurringEvent | startDate={{{from}}} | endDate={{{till}}} | unit=dayofweekinmonth | period=1 }} }}
 
{{#ifeq: {{{recurring|}}} | bi-monthly | {{RecurringEvent | startDate={{{from}}} | endDate={{{till}}} | unit=month | period=2 }} }}
 
{{#ifeq: {{{recurring|}}} | bi-monthly | {{RecurringEvent | startDate={{{from}}} | endDate={{{till}}} | unit=month | period=2 }} }}
 
{{#ifeq: {{{recurring|}}} | yearly | {{RecurringEvent | startDate={{{from}}} | endDate={{{till}}} | unit=year | period=1 }} }}
 
{{#ifeq: {{{recurring|}}} | yearly | {{RecurringEvent | startDate={{{from}}} | endDate={{{till}}} | unit=year | period=1 }} }}

Revision as of 14:45, 1 November 2010


Usage

Copy and paste this code or simply use the Form:Event to add your event.
If you don't set a "till" date, the "from" date will be used.

{{Event
| logo = <filename>
| eventtype = <party, conference, camp, workshop, meeting>
| what = <event title>
| intro= <event description>
| from= <Datetime>
| till= <Datetime>
| recurring = <no, daily, weekly, bi-weekly, monthly, xofmonth, bi-monthly, yearly>
| cost=0€
| u19 = <yes/no>
| location=Hackerspace, Strassen
| contact= <comma-delimited list of the organisers>
| attendees = <string> Everyone
| url=http://www.website.com
}}
Personal tools
Namespaces

Variants
Actions
Navigation
syn2cat
Hackerspace
Activities
Initiatives
Community
Tools
Tools