Template:Event
From syn2cat - HackerSpace.lu
(Difference between revisions)
m (don't show url if none is present) |
m (don't show any of the row if no data present) |
||
Line 37: | Line 37: | ||
{{!}} style="padding: 0 7px;" {{!}} '''[[Template:Event#Ticket_URL|Tickets]]''': {{!!}} [[Has ticket url::{{{ticket_url|}}}|Buy a ticket!]] | {{!}} style="padding: 0 7px;" {{!}} '''[[Template:Event#Ticket_URL|Tickets]]''': {{!!}} [[Has ticket url::{{{ticket_url|}}}|Buy a ticket!]] | ||
| }} | | }} | ||
− | |- | + | {{#if: {{{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 13:46, 16 June 2012
Usage
Please use the event form to add your event. It will validate your input.