Template:Event

From syn2cat - HackerSpace.lu
(Difference between revisions)
Jump to: navigation, search
m (omit complete description div if there is no description + do not announce globally if no description has been given)
m (made a mistake)
Line 29: Line 29:
 
| style="padding: 0 7px;"  | '''[[Template:Event#Recurring|Recurring]]''': || [[Is Recurring::{{{recurring|}}}]]
 
| style="padding: 0 7px;"  | '''[[Template:Event#Recurring|Recurring]]''': || [[Is Recurring::{{{recurring|}}}]]
 
|-
 
|-
| style="padding: 0 7px;"  | '''[[Template:Event#Announce|Announce globally]]''': || [[Do Announce::{{#if: {{{description|}}} | {{{announce|}}} | no ]]
+
| style="padding: 0 7px;"  | '''[[Template:Event#Announce|Announce globally]]''': || [[Do Announce::{{#if: {{{description|}}} | {{{announce|}}} | no }}]]
 
|-
 
|-
 
| style="padding: 0 7px;"  | '''[[Template:Event#External|External]]''': || [[Is External::{{{external|}}}]]
 
| style="padding: 0 7px;"  | '''[[Template:Event#External|External]]''': || [[Is External::{{{external|}}}]]

Revision as of 16:02, 16 July 2011


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 template will not operate correctly!

{{Event
| logo = <filename>
| eventtype = <party, conference, camp, workshop, meeting>
| what = <event title>
| description= <event description>
| from= <Datetime>
| till= <Datetime>
| external=<no,yes> (Whether an event is organized by us or somebody else)
| announce=<no,yes> (Whether an event is supposed to be announced on twitter, agendas)
| recurring = <no, daily, weekly, bi-weekly, monthly, dayofweekinmonth, bi-monthly, yearly>
| cost=0€
| u19 = <yes/no>
| location=Hackerspace, Strassen
| contact= <comma-delimited list of the organisers>
| attendees = <string> Everyone
| url=http://www.website.com
}}
Personal tools
Namespaces

Variants
Actions
Navigation
syn2cat
Hackerspace
Activities
Initiatives
Community
Tools
Tools