Template:Event

From syn2cat - HackerSpace.lu
(Difference between revisions)
Jump to: navigation, search
m
m (SMW maintenance)
Line 51: Line 51:
 
|}
 
|}
 
<!-- *** Let's automate the semantic info *** -->
 
<!-- *** Let's automate the semantic info *** -->
{{#ifeq: {{{external}}} | yes | [[Category:ExternalEvent]] | [[Category:Event]] }}
+
<!-- Switch Categories on eventtype -->
 +
{{#switch: {{eventtype}}
 +
| Meeting = [[Category:Meeting]]
 +
| Workshop = [[Category:Workshop]]
 +
| Camp
 +
| Conference
 +
| Party
 +
| Event
 +
| #default = [[Category:Event]]
 +
}}
 +
<!-- End Switch Category -->
 
<!-- I'm not sure these are compatible -->
 
<!-- I'm not sure these are compatible -->
 
{{#arraymap: {{#dates: | StartDate={{{from}}} | EndDate={{{till}}} }}|,|x|[[Has date::x| ]]|  }}
 
{{#arraymap: {{#dates: | StartDate={{{from}}} | EndDate={{{till}}} }}|,|x|[[Has date::x| ]]|  }}
 +
[[Is U19::{{{u19}}}| ]]
 +
{{#ifeq: {{{u19|}}} | yes | [[Category:U19]] }}
 
<!-- Recurring Events -->
 
<!-- Recurring Events -->
 
{{#ifeq: {{{recurring|}}} | daily | {{RecurringEvent | startDate={{{from}}} | endDate={{{till}}} | unit=day | period=1 }} }}
 
{{#ifeq: {{{recurring|}}} | daily | {{RecurringEvent | startDate={{{from}}} | endDate={{{till}}} | unit=day | period=1 }} }}
Line 76: Line 88:
 
| from= <Datetime>
 
| from= <Datetime>
 
| till= <Datetime>
 
| till= <Datetime>
| location=Hackerspace, Strassen
+
| recurring = <no, day, week, month, year>
 
| cost=0€
 
| cost=0€
| venue=Syn2cat
+
| u19 = <yes/no>
 +
| location=Hackerspace, Strassen
 
| contact= <comma-delimited list of the organisers>
 
| contact= <comma-delimited list of the organisers>
 
| attendees = <string> Everyone
 
| attendees = <string> Everyone

Revision as of 00:08, 2 May 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.external.com
}}
Personal tools
Namespaces

Variants
Actions
Navigation
syn2cat
Hackerspace
Activities
Initiatives
Community
Tools
Tools