Template:Event
From syn2cat - HackerSpace.lu
(Difference between revisions)
m |
m |
||
Line 18: | Line 18: | ||
! style="padding: 0 7px; background: #CCCCFF" | From: | ! style="padding: 0 7px; background: #CCCCFF" | From: | ||
|- | |- | ||
− | | {{{from}}} | + | | [[StartDate::{{{from}}}]] |
|- | |- | ||
! style="padding: 0 7px; background: #CCCCFF" | Till: | ! style="padding: 0 7px; background: #CCCCFF" | Till: | ||
Line 26: | Line 26: | ||
! style="padding: 0 7px; background: #CCCCFF" | Where: | ! style="padding: 0 7px; background: #CCCCFF" | Where: | ||
|- | |- | ||
− | | {{{city}}}, {{#if: {{{state|}}} | {{{state}}}, }} {{{country}}} | + | | [[city::{{{city}}}]], {{#if: {{{state|}}} | {{{state}}}, }} [[country::{{{country}}}]] |
|- | |- | ||
! style="padding: 0 7px; background: #CCCCFF" | Cost: | ! style="padding: 0 7px; background: #CCCCFF" | Cost: | ||
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}}}| ]]}} | ||
[[location::{{{city}}}, {{{country}}}| ]] | [[location::{{{city}}}, {{{country}}}| ]] | ||
− | |||
{{#if: {{{state|}}} | [[state::{{{state}}}| ]] }} | {{#if: {{{state|}}} | [[state::{{{state}}}| ]] }} | ||
− | |||
{{#if: {{{cost|}}} | [[cost::{{{cost}}}| ]] }} | {{#if: {{{cost|}}} | [[cost::{{{cost}}}| ]] }} | ||
{{#if: {{{coordinates|}}} | [[Has coordinates::{{{coordinates}}}| ]] }} | {{#if: {{{coordinates|}}} | [[Has coordinates::{{{coordinates}}}| ]] }} |
Revision as of 10:30, 7 October 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 }}