Template:Event

From syn2cat - HackerSpace.lu
(Difference between revisions)
Jump to: navigation, search
m (notice width)
m (remove whitelines)
Line 78: Line 78:
 
<!-- *** displaying the description in the main section now *** -->
 
<!-- *** 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> | }}
 
 
<!-- *** Let's automate the semantic info *** -->
 
<!-- *** Let's automate the semantic info *** -->
 
{{#ifeq: {{{u19|}}} | yes | [[Category:U19]] }}
 
{{#ifeq: {{{u19|}}} | yes | [[Category:U19]] }}
 
 
<!-- *** Set variables that are not displayed on the page *** -->
 
<!-- *** Set variables that are not displayed on the page *** -->
 
{{#set:
 
{{#set:
Line 92: Line 90:
 
| Is External={{#ifeq: {{{location|}}} | Hackerspace, Strassen | no | yes }}
 
| Is External={{#ifeq: {{{location|}}} | Hackerspace, Strassen | no | yes }}
 
}}
 
}}
 
 
<!-- Switch Category on eventtype -->
 
<!-- Switch Category on eventtype -->
 
{{#switch: {{{eventtype}}}
 
{{#switch: {{{eventtype}}}
Line 103: Line 100:
 
  | #default = [[Category:Event]]
 
  | #default = [[Category:Event]]
 
}} <!-- End Switch Category -->
 
}} <!-- End Switch Category -->
 
 
<!-- Only use the dates function on non-recurring events, else add to the RecurringEvent category -->
 
<!-- Only use the dates function on non-recurring events, else add to the RecurringEvent category -->
 
{{#ifeq: {{{recurring|}}} | no | {{#arraymap: {{#dates: | StartDate={{{from}}} | EndDate={{{till}}} }}|,|x|[[Has date::x| ]] | }} | [[Category:RecurringEvent]] }}
 
{{#ifeq: {{{recurring|}}} | no | {{#arraymap: {{#dates: | StartDate={{{from}}} | EndDate={{{till}}} }}|,|x|[[Has date::x| ]] | }} | [[Category:RecurringEvent]] }}

Revision as of 16:52, 10 March 2012


Usage

Please use the event form to add your event. It will validate your input.

Personal tools
Namespaces

Variants
Actions
Navigation
syn2cat
Hackerspace
Activities
Initiatives
Community
Tools
Tools