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}}}]] | + | | style="padding: 0 7px;" | '''[[Template:Event#Where|Where]]''': || [[Has location::{{{location|}}}]] ({{Address|{{#show: {{{Location|}}} | ?Has address}}|{{#show: {{{Location|}}} | ?Has city}}|{{#show: {{{Location|}}} | ?Has country}}}}) |
<!-- [[city::{{{city}}}]], {{#if: {{{state|}}} | [[state::{{{state}}}]], }} [[country::{{{country}}}]]--> | <!-- [[city::{{{city}}}]], {{#if: {{{state|}}} | [[state::{{{state}}}]], }} [[country::{{{country}}}]]--> | ||
|- | |- | ||
| colspan="2" style="vertical-align:top; padding: 0 7px;" | '''[[Template:Event#Map|Map]]''': | | colspan="2" style="vertical-align:top; padding: 0 7px;" | '''[[Template:Event#Map|Map]]''': | ||
|- | |- | ||
| − | | colspan="2" style="text-align:center;padding: 0 7px;" | {{#if: {{{coordinates|}}} | {{SmallMap|coordinates={{{coordinates}}}|label={{{what}}} takes place here }} }} | + | | colspan="2" style="text-align:center;padding: 0 7px;" | |
| + | {{ | ||
| + | #display_point: | ||
| + | {{#show: {{{Location|}}} | ?Has address}} {{#show: {{{Location|}}} | ?Has city}}~{{Address|{{#show: {{{Location|}}} | ?Has address}}|{{#show: {{{Location|}}} | ?Has city}}|{{#show: {{{Location|}}} | ?Has country}}}} | ||
| + | |width=250 | ||
| + | |height=250 | ||
| + | |service=layers | ||
| + | |layers=openstreetmap | ||
| + | }} | ||
| + | <!--{{#if: {{{coordinates|}}} | {{SmallMap|coordinates={{{coordinates}}}|label={{{what}}} takes place here }} }}--> | ||
|} | |} | ||
<!-- *** Let's automate the semantic info *** --> | <!-- *** Let's automate the semantic info *** --> | ||
Revision as of 19:56, 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>
<!--
| city=Strassen
| state=n.a.
| country = Luxembourg
-->
| 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
}}