Template:Event
From syn2cat - HackerSpace.lu
(Difference between revisions)
m (space) |
m (omit complete description div if there is no description + do not announce globally if no description has been given) |
||
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::{{{announce|}}}]] | + | | 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|}}}]] | ||
Line 60: | Line 60: | ||
|} | |} | ||
− | <div style="font-size:120%;">''[[Has description::{{{description|}}}]]''</div> | + | {{#if: {{{description|}}} | <div style="font-size:120%;">''[[Has description::{{{description|}}}]]''</div> | }} |
<!-- *** Let's automate the semantic info *** --> | <!-- *** Let's automate the semantic info *** --> |
Revision as of 15:58, 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 }}