Template:Event
From syn2cat - HackerSpace.lu
(Difference between revisions)
m |
m |
||
Line 50: | Line 50: | ||
<!-- *** Let's automate the semantic info *** --> | <!-- *** Let's automate the semantic info *** --> | ||
{{#if: {{{till|}}} |[[EndDate::{{{till}}}| ]] | [[EndDate::{{{from}}}| ]]}} | {{#if: {{{till|}}} |[[EndDate::{{{till}}}| ]] | [[EndDate::{{{from}}}| ]]}} | ||
− | {{#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}}}| ]] | ||
{{#if: {{{state|}}} | [[state::{{{state}}}| ]] }} | {{#if: {{{state|}}} | [[state::{{{state}}}| ]] }} |
Revision as of 20:41, 16 November 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> | tagline= <event description> | from= <Datetime> | till= <Datetime> | country = Luxembourg | cost=0€ | state=n.a. | city=Strassen | organisers= <comma-delimited list of the organisers> | attendees = <string> Everyone | url=http://www.external.com | coordinates=xyz.abc° N, uio.asd° E }}