Personal tools

Difference between revisions of "Template:Event"

From Eth0Wiki

Jump to: navigation, search
m
m (Event Template update test)
Line 18: Line 18:
 
{| border="2" cellspacing="0" cellpadding="4" rules="all" style="float:right; clear:right; width:370px; margin:5px 0 1em 1em; border:solid 1px #AAAAAA; border-collapse:collapse; font-size:95%; empty-cells:hide"
 
{| border="2" cellspacing="0" cellpadding="4" rules="all" style="float:right; clear:right; width:370px; margin:5px 0 1em 1em; border:solid 1px #AAAAAA; border-collapse:collapse; font-size:95%; empty-cells:hide"
 
|- style="background: #1b2b4b; color: #fff; text-align:center;"
 
|- style="background: #1b2b4b; color: #fff; text-align:center;"
! colspan=2| ''Event''
+
! colspan=2| ''Event [[PageName::{{PAGENAME}}|{{{Name}}}]]''  
 
|-
 
|-
 
| style="vertical-align:top" | Name
 
| style="vertical-align:top" | Name
|{{{Name}}}
+
|[[Event Name::{{{Name}}}]]
 
|-
 
|-
 
| style="vertical-align:top" | Event website
 
| style="vertical-align:top" | Event website
|{{{URL}}}
+
|[[Event URL::{{{URL}}}]]
 
|-
 
|-
 
| style="vertical-align:top" | Event duration
 
| style="vertical-align:top" | Event duration
|{{{DateStart}}} - {{{DateEnd}}}
+
|[[Event DateStart::{{{DateStart}}}]]  {{#if:{{{DateEnd}}} - [[Event DateEnd::{{{DateEnd}}}]]|}}
 
|-
 
|-
 
| style="vertical-align:top" | Information
 
| style="vertical-align:top" | Information
|{{{Info}}}
+
|[[Event Info::{{{Info}}}]]
*Location: {{{InfoLocation}}}
+
{{#if:{{{InfoLocation}}} * Location: [[Event Location::{{{InfoLocation}}}]]|}}
*Open from: {{{InfoOpen}}}
+
{{#if:{{{InfoOpen}}} * Open from: [[Event TimeStart::{{{InfoOpen}}}]]|}}
*Ticket price: {{{InfoTicket}}}
+
{{#if:{{{InfoTicket}}} * Ticket price: [[Event Price::{{{InfoTicket}}}]]|}}
*Sign-up page: {{{InfoSignup}}}
+
{{#if:{{{InfoSignup}}} * Sign-up page: [[Event SignupURL::{{{InfoSignup}}}]]|}}
 
|-
 
|-
  

Revision as of 19:51, 15 March 2010

Use this template in the following way on event pages:

 {{Event
 |Name=Event Name
 |URL=http://www.event.tld/ or [[MyPage]], etc.
 |DateStart=2009-01-19
 |DateEnd=2009-01-20
 |Info=This event is all about Biz and Baz!
 |InfoLocation=This event is held in Doe city
 |InfoOpen=We're open from $date $time
 |InfoTicket=Tickets cost € 42,-
 |InfoSignup=You can signup on the https://secure.websi.te/
 }}


Event {{{Name}}}
Name {{{Name}}}
Event website {{{URL}}}
Event duration {{{DateStart}}}
Information {{{Info}}}