Template:Event
From syn2cat - HackerSpace.lu
(Difference between revisions)
m |
m |
||
Line 32: | Line 32: | ||
| style="padding: 0 7px;" | '''[[Template:Event#Venue|Venue]]''': || [[At Venue::{{{venue|}}}]] | | style="padding: 0 7px;" | '''[[Template:Event#Venue|Venue]]''': || [[At Venue::{{{venue|}}}]] | ||
|- | |- | ||
− | | style="padding: 0 7px;" | '''[[Template:Event#Where|Where]]''': || [[Has location::{{{location|}}}]] ({{Address|{{#show: {{{location|}}} | ?Has address}}|{{#show: {{{location|}}} | ?Has city}}|{{#show: {{{location|}}} | ?Has country}}}}) | + | | style="padding: 0 7px;" | '''[[Template:Event#Where|Where]]''': || [[Has location::{{{location|}}}]] ({{Address|{{#show: {{{location|}}} | ?Has address|link=no}}|{{#show: {{{location|}}} | ?Has city}}|{{#show: {{{location|}}} | ?Has country}}}}) |
<!-- [[city::{{{city}}}]], {{#if: {{{state|}}} | [[state::{{{state}}}]], }} [[country::{{{country}}}]]--> | <!-- [[city::{{{city}}}]], {{#if: {{{state|}}} | [[state::{{{state}}}]], }} [[country::{{{country}}}]]--> | ||
|- | |- | ||
Line 49: | Line 49: | ||
|} | |} | ||
<!-- *** Let's automate the semantic info *** --> | <!-- *** Let's automate the semantic info *** --> | ||
− | [[location::{{{city}}}, {{{country}}}| ]] | + | <!-- [[location::{{{city}}}, {{{country}}}| ]] --> |
{{#ifeq: {{{external}}} | yes | [[Category:ExternalEvent]] | [[Category:Event]] }} | {{#ifeq: {{{external}}} | yes | [[Category:ExternalEvent]] | [[Category:Event]] }} | ||
{{#if: {{{coordinates|}}} | [[Has coordinates::{{{coordinates}}}| ]] }} | {{#if: {{{coordinates|}}} | [[Has coordinates::{{{coordinates}}}| ]] }} |
Revision as of 20:37, 12 March 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 }}