Difference between revisions of "Template:Event"
From Eth0Wiki
m (Event Template update test) |
(oops) |
||
| (15 intermediate revisions by 4 users not shown) | |||
| Line 7: | Line 7: | ||
|DateStart=2009-01-19 | |DateStart=2009-01-19 | ||
|DateEnd=2009-01-20 | |DateEnd=2009-01-20 | ||
| + | |Contact=Name of person or organization creating this stuff | ||
|Info=This event is all about Biz and Baz! | |Info=This event is all about Biz and Baz! | ||
|InfoLocation=This event is held in Doe city | |InfoLocation=This event is held in Doe city | ||
| Line 14: | Line 15: | ||
<nowiki>}}</nowiki> | <nowiki>}}</nowiki> | ||
| − | </noinclude> | + | </noinclude>{| border="2" cellspacing="0" cellpadding="4" class="infobox-eth0" rules="all" style="float:right; clear:right; width:370px; margin:5px 0 1em 1em; border-collapse:collapse; font-size:95%; empty-cells:hide" |
| − | + | |- style="background: {{Style|header}}; text-align:center;" | |
| − | {| border="2" cellspacing="0" cellpadding="4" rules="all" style="float:right; clear:right; width:370px; margin:5px 0 1em 1em | + | ! colspan=2| ''[[PageName::{{PAGENAME}}|{{{Name}}}]]'' |
| − | |- style="background: | ||
| − | ! colspan=2| '' | ||
|- | |- | ||
| 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" | | + | | style="vertical-align:top" | {{#if:{{{DateEnd|}}}|Duration|When}} |
| − | + | |{{#if:{{{DateStart|}}}|[[Event DateStart::{{{DateStart}}}]]| [[Event DateStart::Jan 13 1337 13:37:00]]}} {{#if:{{{DateEnd|}}}| - [[Event DateEnd::{{{DateEnd}}}]]|}} | |
| − | | | ||
| − | | | ||
| − | |[[Event DateStart::{{{DateStart}}}]] {{#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}}} * Location: [[Event Location::{{{InfoLocation}}}]]|}} | + | {{#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:{{{InfoOpen}}} * Open from: [[Event TimeStart::{{{InfoOpen}}}]]|}} | ||
| − | {{#if:{{{InfoTicket}}} * Ticket price: [[Event Price::{{{InfoTicket}}}]]|}} | ||
| − | {{#if:{{{InfoSignup}}} * Sign-up page: [[Event SignupURL::{{{InfoSignup}}}]]|}} | ||
|- | |- | ||
| − | |} | + | |}<includeonly>[[Category:Event|{{{Name}}}]]{{DISPLAYTITLE:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:|}}{{lcfirst:{{PAGENAME}}}}}}</includeonly> |
| − | |||
| − | <includeonly>[[Category:Event|{{{Name}}}]]</includeonly> | ||
Latest revision as of 21:47, 11 February 2025
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/
}}
| {{{Name}}} | |
|---|---|
| Name | {{{Name}}}
|
| When | Jan 13 1337 13:37:00 |
| Information | |
