Template:Event

From syn2cat - HackerSpace.lu
(Difference between revisions)
Jump to: navigation, search
m
m
Line 17: Line 17:
 
|-
 
|-
 
| style="padding: 0 7px;"  | '''[[Template:Event#Recurring|Recurring]]''': || [[Is Recurring::{{{recurring|}}}]]
 
| style="padding: 0 7px;"  | '''[[Template:Event#Recurring|Recurring]]''': || [[Is Recurring::{{{recurring|}}}]]
 +
|-
 +
| style="padding: 0 7px;"  | '''[[Template:Event#External|External]]''': || [[Is External::{{{external|}}}]]
 
|-
 
|-
 
| style="padding: 0 7px;" | '''[[Template:Event#Cost|Cost]]''':  || [[cost::{{{cost|}}}]]
 
| style="padding: 0 7px;" | '''[[Template:Event#Cost|Cost]]''':  || [[cost::{{{cost|}}}]]
Line 37: Line 39:
 
{{#arraymap: {{#dates: | StartDate={{{from}}} | EndDate={{{till}}} }}|,|x|[[Has date::x| ]]|  }}
 
{{#arraymap: {{#dates: | StartDate={{{from}}} | EndDate={{{till}}} }}|,|x|[[Has date::x| ]]|  }}
 
[[location::{{{city}}}, {{{country}}}| ]]
 
[[location::{{{city}}}, {{{country}}}| ]]
 +
{{#ifeq: {{{external}}} | yes | [[Category:ExternalEvent]] | [[Category:Event]] }}
 
{{#if: {{{coordinates|}}} | [[Has coordinates::{{{coordinates}}}| ]] }}
 
{{#if: {{{coordinates|}}} | [[Has coordinates::{{{coordinates}}}| ]] }}
[[Category:Event]]<!--
+
</includeonly>
--> </includeonly>
+
 
<noinclude>
 
<noinclude>
 
==Usage==
 
==Usage==

Revision as of 17:18, 12 December 2009


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>
| what = <event title>
| intro= <event description>
| from= <Datetime>
| till= <Datetime>
| country = Luxembourg
| cost=0€
| state=n.a.
| city=Strassen
| contact= <comma-delimited list of the organisers>
| attendees = <string> Everyone
| url=http://www.external.com
| coordinates=xyz.abc° N, uio.asd° E
}}
Personal tools
Namespaces

Variants
Actions
Navigation
syn2cat
Hackerspace
Activities
Initiatives
Community
Tools
Tools