Template:Event

From syn2cat - HackerSpace.lu
(Difference between revisions)
Jump to: navigation, search
m (todo: syndisubscript: do not replace in templates)
m (logo)
Line 17: Line 17:
 
<div style="font-size:110%;text-align:right;padding-right:3px;">[[Has subtitle::{{{subtitle|}}}]]</div>
 
<div style="font-size:110%;text-align:right;padding-right:3px;">[[Has subtitle::{{{subtitle|}}}]]</div>
 
|-
 
|-
| colspan="2" style="padding: 10px 0px; text-align:center;" |<!-- setting custom image if available-->[[File:{{#if: {{{logo|}}} |<!--then-->{{{logo}}}|<!--else-->G8033.png}}|240px|link=]]
+
| colspan="2" style="padding: 10px 0px; text-align:center;" |<!-- setting custom image if available-->[[File:{{#if: {{{logo|}}} |{{{logo}}}|G8033.png}}|240px|link=]]
 
|-
 
|-
 
| 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}}}]]
Line 72: Line 72:
 
| Has PageName={{FULLPAGENAME}}
 
| Has PageName={{FULLPAGENAME}}
 
| Has coordinates={{#show: {{{location|}}} | ?Has coordinates|link=none}}  
 
| Has coordinates={{#show: {{{location|}}} | ?Has coordinates|link=none}}  
| Has picture=File:{{{logo}}}  
+
| Has picture=File:{{{logo|}}}  
 
| Has extraInfo={{{extrainfo|}}}
 
| Has extraInfo={{{extrainfo|}}}
 
| Is External={{#ifeq: {{{organizer|}}} | syn2cat | no | yes }}
 
| Is External={{#ifeq: {{{organizer|}}} | syn2cat | no | yes }}

Revision as of 19:52, 9 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
}}
Personal tools
Namespaces

Variants
Actions
Navigation
syn2cat
Hackerspace
Activities
Initiatives
Community
Tools
Tools