Template:Event

From syn2cat - HackerSpace.lu
(Difference between revisions)
Jump to: navigation, search
m
m
Line 9: Line 9:
 
--> |
 
--> |
 
{{#switch: {{eventtype}}
 
{{#switch: {{eventtype}}
| Workshop = [[Image:Workshop.png|link=|left|40px]]
+
| Workshop = [[Image:Workshop.png|link=|left|40px]]
| Meeting = [[Image:Meeting.png|link=|left|40px]]
+
| Meeting = [[Image:Meeting.png|link=|left|40px]]
| Party = [[Image:Party.png|link=|left|40px]]
+
| Party = [[Image:Party.png|link=|left|40px]]
| #default = [[Image:Event.png|link=|left|40px]]
+
| #default = [[Image:Event.png|link=|left|40px]]
 
}}<!--
 
}}<!--
 
--><span style="font-size: 150%;">{{#if:{{{what|}}}|{{{what}}}|{{PAGENAME}} }}</span>
 
--><span style="font-size: 150%;">{{#if:{{{what|}}}|{{{what}}}|{{PAGENAME}} }}</span>
Line 18: Line 18:
 
| colspan="2" style="padding: 7px;" | [[Description::{{{intro|}}}]]
 
| colspan="2" style="padding: 7px;" | [[Description::{{{intro|}}}]]
 
|-
 
|-
<!-- Switch picture on eventtype -->
 
 
| colspan="2" style="padding: 10px 0px; text-align:center;" |<!-- setting custom image if available-->[[Image:{{#if: {{{logo|}}} |<!--then-->{{{logo}}}|<!--else-->G8033.png}}|200px|link=]]
 
| colspan="2" style="padding: 10px 0px; text-align:center;" |<!-- setting custom image if available-->[[Image:{{#if: {{{logo|}}} |<!--then-->{{{logo}}}|<!--else-->G8033.png}}|200px|link=]]
<!-- End  Switch picture -->
 
 
|-
 
|-
 
| style="padding: 0 7px;"  | '''[[Template:Event#EventType|Type of Event]]''': || [[Is Event of Type::{{{eventtype}}}]]
 
| style="padding: 0 7px;"  | '''[[Template:Event#EventType|Type of Event]]''': || [[Is Event of Type::{{{eventtype}}}]]

Revision as of 23:41, 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
}}
Personal tools
Namespaces

Variants
Actions
Navigation
syn2cat
Hackerspace
Activities
Initiatives
Community
Tools
Tools