Personal tools

Difference between revisions of "Template:Event"

From Eth0Wiki

Jump to: navigation, search
m
m (Verberg lege velden)
Line 14: Line 14:
 
   |InfoSignup=You can signup on the https://secure.websi.te/
 
   |InfoSignup=You can signup on the https://secure.websi.te/
 
   <nowiki>}}</nowiki>
 
   <nowiki>}}</nowiki>
 +
 +
{{Event
 +
|Name=Eth0:2009 Winter
 +
|URL=
 +
|DateStart=2009-1-17
 +
|DateEnd=2009-1-18
 +
|Contact=
 +
|Info=
 +
}}
 +
  
 
</noinclude>{| border="2" cellspacing="0" cellpadding="4" rules="all" style="float:right; clear:right; width:370px; margin:5px 0 1em 1em; border-collapse:collapse; font-size:95%; empty-cells:hide"
 
</noinclude>{| border="2" cellspacing="0" cellpadding="4" rules="all" style="float:right; clear:right; width:370px; margin:5px 0 1em 1em; border-collapse:collapse; font-size:95%; empty-cells:hide"
Line 21: Line 31:
 
| style="vertical-align:top" | Name
 
| style="vertical-align:top" | Name
 
|[[Event Name::{{{Name}}}]]
 
|[[Event Name::{{{Name}}}]]
 +
{{#if:{{{URL|}}} |
 +
{{!}}-
 +
{{!}} style="vertical-align:top" {{!}} Website
 +
{{!}}[[Event URL::{{{URL}}}]]
 +
|}}
 +
{{#if:{{{Contact|}}} |
 +
{{!}}-
 +
{{!}} style="vertical-align:top" {{!}} Contact
 +
{{!}}[[Event Contact::{{{Contact}}}]]
 +
|}}
 
|-
 
|-
| style="vertical-align:top" | Website
+
| style="vertical-align:top" | {{#if:{{{DateEnd|}}}|Duration|When}}
|[[Event URL::{{{URL}}}]]
+
|[[Event DateStart::{{{DateStart}}}]]  {{#if:{{{DateEnd|}}}| - [[Event DateEnd::{{{DateEnd}}}]]|}}
|-
 
| style="vertical-align:top" | Contact
 
|[[Event Contact::{{{Contact}}}]]
 
|-
 
| style="vertical-align:top" | Duration
 
|[[Event DateStart::{{{DateStart}}}]]  {{#if:{{{DateEnd}}} - [[Event DateEnd::{{{DateEnd}}}]]|}}
 
 
|-
 
|-
 
| style="vertical-align:top" | Information
 
| style="vertical-align:top" | Information

Revision as of 12:56, 3 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 Eth0:2009 Winter
Name Eth0:2009 Winter


Duration 2009-1-17 - 2009-1-18
Information


Event {{{Name}}}
Name {{{Name}}}


When {{{DateStart}}}
Information {{{Info}}}