Template:Event

From syn2cat - HackerSpace.lu
(Difference between revisions)
Jump to: navigation, search
m (debug)
m
Line 1: Line 1:
<includeonly>{{#expr: {{#len:{{{url|}}}}}>26}}{{#len:{{{url}}}}}{{#ifexpr:{{#time: U | {{{till|}}} }}<{{#time: U }}|<div style="border: 2px solid #007A20; padding: 0.5em 1em 0.3em 0.5em; color: #007A20; width:840px;">'''Note:''' this article is about a passed event.</div>|}} <!--
+
<includeonly>{{#ifexpr:{{#time: U | {{{till|}}} }}<{{#time: U }}|<div style="border: 2px solid #007A20; padding: 0.5em 1em 0.3em 0.5em; color: #007A20; width:840px;">'''Note:''' this article is about a passed event.</div>|}} <!--
 
--> {{#if:{{{description|}}}||{{#ifeq: {{{announce|}}}|yes|<div style="border: 2px solid #007A20; padding: 0.5em 1em 0.3em 0.5em; color: red; width:840px;">'''Warning:''' this event is set to '''announce globally''' but does not have a description. Thus the property has been set to "'''no'''".</div>|}} }}
 
--> {{#if:{{{description|}}}||{{#ifeq: {{{announce|}}}|yes|<div style="border: 2px solid #007A20; padding: 0.5em 1em 0.3em 0.5em; color: red; width:840px;">'''Warning:''' this event is set to '''announce globally''' but does not have a description. Thus the property has been set to "'''no'''".</div>|}} }}
 
{| class="wikitable" cellpadding="2" cellspacing="0" <!--
 
{| class="wikitable" cellpadding="2" cellspacing="0" <!--
Line 40: Line 40:
 
| }}
 
| }}
 
|-
 
|-
| style="padding: 0 7px;" | '''[[Template:Event#Website|Website]]''':  || {{#if: {{#expr: {{#len:{{{url|}}}}}>26}} | [{{{url}}} {{#sub:{{{url|}}}|0|25}}...] | {{{url}}} }}
+
| style="padding: 0 7px;" | '''[[Template:Event#Website|Website]]''':  || {{#ifexpr: {{#len: {{{url}}} }} > 26 | [{{{url}}} {{#sub:{{{url}}}|0|25}}...] | {{{url}}} }}
 
|-
 
|-
 
| style="padding: 0 7px;" | '''[[Template:Event#Attendees|Attendees]]''': || {{#arraymap:{{{attendees|}}}|,|x|[[Has attendee::User:x|x]]}}<br/><span style="font-weight:bold;text-decoration:underline;margin-left:6px;"><!--
 
| style="padding: 0 7px;" | '''[[Template:Event#Attendees|Attendees]]''': || {{#arraymap:{{{attendees|}}}|,|x|[[Has attendee::User:x|x]]}}<br/><span style="font-weight:bold;text-decoration:underline;margin-left:6px;"><!--

Revision as of 18:46, 19 May 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