Template:Event
From syn2cat - HackerSpace.lu
(Difference between revisions)
m (made a mistake) |
(Added extrainfo field to event template) |
||
Line 59: | Line 59: | ||
| style="padding: 0 7px;" | '''[[Template:Event#QrCode|QrCode]]''': || {{#qrcode:}} | | style="padding: 0 7px;" | '''[[Template:Event#QrCode|QrCode]]''': || {{#qrcode:}} | ||
|} | |} | ||
− | + | <!-- *** displaying the description in the main section now *** --> | |
{{#if: {{{description|}}} | <div style="font-size:120%;">''[[Has description::{{{description|}}}]]''</div> | }} | {{#if: {{{description|}}} | <div style="font-size:120%;">''[[Has description::{{{description|}}}]]''</div> | }} | ||
Line 65: | Line 65: | ||
{{#ifeq: {{{u19|}}} | yes | [[Category:U19]] }} | {{#ifeq: {{{u19|}}} | yes | [[Category:U19]] }} | ||
− | {{#set:Is U19={{{u19}}}|Has PageName={{FULLPAGENAME}}|Has coordinates={{#show: {{{location|}}} | ?Has coordinates|link=none}}|Has picture=File:{{{logo}}} }} | + | <!-- *** Set variables that are not displayed on the page *** --> |
+ | {{#set: | ||
+ | Is U19={{{u19}}} | ||
+ | | Has PageName={{FULLPAGENAME}} | ||
+ | | Has coordinates={{#show: {{{location|}}} | ?Has coordinates|link=none}} | ||
+ | | Has picture=File:{{{logo}}} | ||
+ | | Has extraInfo={{{extrainfo}}} | ||
+ | }} | ||
<!-- Switch Category on eventtype --> | <!-- Switch Category on eventtype --> | ||
Line 100: | Line 107: | ||
{{Event | {{Event | ||
| logo = <filename> | | logo = <filename> | ||
+ | | what = <alternate name to pagename, optional> | ||
| eventtype = <party, conference, camp, workshop, meeting> | | eventtype = <party, conference, camp, workshop, meeting> | ||
− | | | + | | subtitle = <event subtitle> |
| description= <event description> | | description= <event description> | ||
+ | | extrainfo = <information that will be displayed on the frontpage on the day this event takes place> | ||
| from= <Datetime> | | from= <Datetime> | ||
| till= <Datetime> | | till= <Datetime> | ||
| external=<no,yes> (Whether an event is organized by us or somebody else) | | 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) | + | | 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> | ||
| cost=0€ | | cost=0€ |
Revision as of 17:42, 23 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> | 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> | 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, 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 }}