Personal tools

Difference between revisions of "Template:Event"

From Eth0Wiki

Jump to: navigation, search
m
m
 
(4 intermediate revisions by the same user not shown)
Line 33: Line 33:
 
|-
 
|-
 
| style="vertical-align:top" | {{#if:{{{DateEnd|}}}|Duration|When}}
 
| style="vertical-align:top" | {{#if:{{{DateEnd|}}}|Duration|When}}
|[[Event DateStart::{{{DateStart}}}]]  {{#if:{{{DateEnd|}}}| - [[Event DateEnd::{{{DateEnd}}}]]|}}
+
|{{#if:{{{DateStart|}}}|[[Event DateStart::{{{DateStart}}}]]| [[Event DateStart::Jan 13 1337 13:37:00]]}} {{#if:{{{DateEnd|}}}| - [[Event DateEnd::{{{DateEnd}}}]]|}}
 
|-
 
|-
 
| style="vertical-align:top" | Information
 
| style="vertical-align:top" | Information
|[[Event Info::{{{Info}}}]]
+
|{{#if:{{{Info|}}}| [[Event Info::{{{Info}}}]]|}}
{{#if:{{{InfoLocation}}} <br />* Location: [[Event Location::{{{InfoLocation}}}]]|}}{{#if:{{{InfoOpen}}} <br />* Open from: [[Event TimeStart::{{{InfoOpen}}}]]|}}{{#if:{{{InfoTicket}}} <br />* Ticket price: [[Event Price::{{{InfoTicket}}}]]|}}{{#if:{{{InfoSignup}}} <br />* Sign-up page: [[Event SignupURL::{{{InfoSignup}}}]]|}}
+
{{#if:{{{InfoLocation|}}}|<br />* Location: [[Event Location::{{{InfoLocation}}}]]|}}{{#if:{{{InfoOpen|}}}|<br />* Open from: [[Event TimeStart::{{{InfoOpen}}}]]|}}{{#if:{{{InfoTicket|}}}| <br />* Ticket price: [[Event Price::{{{InfoTicket}}}]]|}}{{#if:{{{InfoSignup|}}}| <br />* Sign-up page: [[Event SignupURL::{{{InfoSignup}}}]]|}}
 
|-
 
|-
  
 
|}<includeonly>[[Category:Event|{{{Name}}}]]</includeonly>
 
|}<includeonly>[[Category:Event|{{{Name}}}]]</includeonly>

Latest revision as of 16:55, 18 April 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
 |Contact=Name of person or organization creating this stuff
 |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}}}


When Jan 13 1337 13:37:00
Information