Template:Event
From syn2cat - HackerSpace.lu
(Difference between revisions)
m (SMW maintenance) |
m (SMW maintenance - Unifying all event templates) |
||
| Line 6: | Line 6: | ||
! colspan="2" <!-- This is the header | ! colspan="2" <!-- This is the header | ||
--> style="padding-top: 0.5em; color: white; background-color: #AAAAAA" <!-- | --> style="padding-top: 0.5em; color: white; background-color: #AAAAAA" <!-- | ||
| − | --> | [[Image:Event.png|link=|left|40px]] <span style="font-size: 150%;">{{#if:{{{what|}}}|{{{what}}}|{{PAGENAME}} }}</span> | + | |
| + | Switch Icons on eventtype | ||
| + | |||
| + | --> | [[Image: | ||
| + | {{#switch: {{eventtype}} | ||
| + | Workshop = Workshop.png | ||
| + | Meeting = Meeting.png | ||
| + | #default = Event.png | ||
| + | }}|link=|left|40px]]<!-- | ||
| + | --><span style="font-size: 150%;">{{#if:{{{what|}}}|{{{what}}}|{{PAGENAME}} }}</span> | ||
|- | |- | ||
| colspan="2" style="padding: 7px;" | [[Description::{{{intro|}}}]] | | colspan="2" style="padding: 7px;" | [[Description::{{{intro|}}}]] | ||
| Line 66: | Line 75: | ||
[[Is U19::{{{u19}}}| ]] | [[Is U19::{{{u19}}}| ]] | ||
{{#ifeq: {{{u19|}}} | yes | [[Category:U19]] }} | {{#ifeq: {{{u19|}}} | yes | [[Category:U19]] }} | ||
| − | <!-- Recurring Events --> | + | <!-- Recurring Events Replace by switch?! --> |
{{#ifeq: {{{recurring|}}} | daily | {{RecurringEvent | startDate={{{from}}} | endDate={{{till}}} | unit=day | period=1 }} }} | {{#ifeq: {{{recurring|}}} | daily | {{RecurringEvent | startDate={{{from}}} | endDate={{{till}}} | unit=day | period=1 }} }} | ||
{{#ifeq: {{{recurring|}}} | weekly | {{RecurringEvent | startDate={{{from}}} | endDate={{{till}}} | unit=week | period=1 }} }} | {{#ifeq: {{{recurring|}}} | weekly | {{RecurringEvent | startDate={{{from}}} | endDate={{{till}}} | unit=week | period=1 }} }} | ||
| Line 94: | Line 103: | ||
| contact= <comma-delimited list of the organisers> | | contact= <comma-delimited list of the organisers> | ||
| attendees = <string> Everyone | | attendees = <string> Everyone | ||
| − | | url=http://www. | + | | url=http://www.website.com |
}} | }} | ||
</pre> | </pre> | ||
</noinclude> | </noinclude> | ||
Revision as of 23:19, 1 May 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>
| eventtype = <party, conference, camp, workshop, meeting>
| what = <event title>
| intro= <event description>
| from= <Datetime>
| till= <Datetime>
| recurring = <no, day, week, month, year>
| cost=0€
| u19 = <yes/no>
| location=Hackerspace, Strassen
| contact= <comma-delimited list of the organisers>
| attendees = <string> Everyone
| url=http://www.website.com
}}