Template:Event
From syn2cat - HackerSpace.lu
(Difference between revisions)
m (don't use extrainfo if unavailable) |
m (is external --> has organizer) |
||
| Line 31: | Line 31: | ||
| 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# | + | | style="padding: 0 7px;" | '''[[Template:Event#Organizer|Organizer]]''': || [[Has organizer::{{{organizer|}}}]] |
|- | |- | ||
| style="padding: 0 7px;" | '''[[Template:Event#Cost|Cost]]''': || [[Has cost::{{{cost|}}}]] | | style="padding: 0 7px;" | '''[[Template:Event#Cost|Cost]]''': || [[Has cost::{{{cost|}}}]] | ||
| Line 72: | Line 72: | ||
| Has picture=File:{{{logo}}} | | Has picture=File:{{{logo}}} | ||
| Has extraInfo={{{extrainfo|}}} | | Has extraInfo={{{extrainfo|}}} | ||
| + | | Is External={{#ifeq: {{{organizer|}}} | syn<sub>2</sub>cat | no | yes }} | ||
}} | }} | ||
| Line 114: | Line 115: | ||
| from= <Datetime> | | from= <Datetime> | ||
| till= <Datetime> | | till= <Datetime> | ||
| − | | | + | | organizer=<string> (If this is set to anything other than syn2cat, the event will be marked as external) |
| announce=<no,yes> (Whether an event is supposed to be announced on twitter, facebook and external agendas) | | announce=<no,yes> (Whether an event is supposed to be announced on twitter, facebook and external agendas) | ||
| recurring = <no, daily, weekly, bi-weekly, monthly, dayofweekinmonth, bi-monthly, yearly> | | recurring = <no, daily, weekly, bi-weekly, monthly, dayofweekinmonth, bi-monthly, yearly> | ||
Revision as of 19:22, 6 August 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>
| what = <alternate name to pagename, optional>
| eventtype = <party, conference, camp, workshop, meeting>
| subtitle = <event subtitle>
| description= <event description>
| extrainfo = <information that will be displayed on the frontpage on the day this event takes place>
| from= <Datetime>
| till= <Datetime>
| organizer=<string> (If this is set to anything other than syn2cat, the event will be marked as external)
| announce=<no,yes> (Whether an event is supposed to be announced on twitter, facebook and external 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
}}