Template:Event

From syn2cat - HackerSpace.lu
(Difference between revisions)
Jump to: navigation, search
m
m
Line 67: Line 67:
 
}}
 
}}
 
<!-- End Switch Category -->
 
<!-- End Switch Category -->
<!-- I'm not sure these are compatible -->
+
<!-- Only use the dates function on non-recurring events -->
 
{{#ifeq: {{{recurring}}} | no | {{#arraymap: {{#dates: | StartDate={{{from}}} | EndDate={{{till}}} }}|,|x|[[Has date::x| ]]|  }} }}
 
{{#ifeq: {{{recurring}}} | no | {{#arraymap: {{#dates: | StartDate={{{from}}} | EndDate={{{till}}} }}|,|x|[[Has date::x| ]]|  }} }}
 +
<!-- Get coordinates in here -->
 +
[[Has coordinates::{{Address|{{#show: {{{Has coordinates|}}} }} }}]]
 
[[Is U19::{{{u19}}}| ]]
 
[[Is U19::{{{u19}}}| ]]
 
{{#ifeq: {{{u19|}}} | yes | [[Category:U19]] }}
 
{{#ifeq: {{{u19|}}} | yes | [[Category:U19]] }}

Revision as of 15:57, 2 June 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, day, week, month, year>
| 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