Template:Event
From syn2cat - HackerSpace.lu
(Difference between revisions)
m |
m (Semantic Wiki Maintenance) |
||
Line 46: | Line 46: | ||
|controls=small | |controls=small | ||
}} | }} | ||
− | <!--{{#if: {{{coordinates|}}} | {{SmallMap|coordinates={{{coordinates}}}|label={{{what}}} takes place here }} }}--> | + | <!--{{#if: {{{coordinates|}}} | {{SmallMap|coordinates={{{coordinates}}}|label={{{what}}} takes place here }} }} |
+ | {{#if: {{{coordinates|}}} | [[Has coordinates::{{{coordinates}}}| ]] }} --> | ||
|} | |} | ||
<!-- *** Let's automate the semantic info *** --> | <!-- *** Let's automate the semantic info *** --> | ||
{{#ifeq: {{{external}}} | yes | [[Category:ExternalEvent]] | [[Category:Event]] }} | {{#ifeq: {{{external}}} | yes | [[Category:ExternalEvent]] | [[Category:Event]] }} | ||
− | |||
<!-- 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| ]]| }} |
Revision as of 18:45, 1 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> | what = <event title> | intro= <event description> | from= <Datetime> | till= <Datetime> | location=Hackerspace, Strassen | cost=0€ | venue=Syn2cat | contact= <comma-delimited list of the organisers> | attendees = <string> Everyone | url=http://www.external.com | coordinates=xyz.abc° N, uio.asd° E }}