Difference between revisions of "Template:Event"

From RevSpace
Jump to navigation Jump to search
 
(7 intermediate revisions by 4 users not shown)
Line 3: Line 3:
  
 
   <nowiki>{{</nowiki>Event
 
   <nowiki>{{</nowiki>Event
   |Name=Event Name
+
   |Name=Event Title
 
   |URL=http://www.event.tld/ or <nowiki>[[MyPage]]</nowiki>, etc.
 
   |URL=http://www.event.tld/ or <nowiki>[[MyPage]]</nowiki>, etc.
   |DateStart=2009-01-19
+
   |DateStart=2014-01-01
   |DateEnd=2009-01-20
+
   |DateEnd=2014-14-14 17:00
   |Contact=Name of person or organization creating this stuff
+
   |Contact=someone who is the contact
 
   |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 18: Line 18:
 
|- style="background: {{Style|header}}; text-align:center;"
 
|- style="background: {{Style|header}}; text-align:center;"
 
! colspan=2| ''Event [[PageName::{{PAGENAME}}|{{{Name}}}]]''  
 
! colspan=2| ''Event [[PageName::{{PAGENAME}}|{{{Name}}}]]''  
 +
|-
 +
| colspan=2 | {{
 +
  #if: {{{Picture|}}}
 +
  |[[Hoofdafbeelding::File:{{{Picture}}}|350px]] {{#Set:Afbeelding=File:{{{Picture}}} }} {{#Set:Afbeelding2={{{Picture}}} }}
 +
  |{{
 +
    #ifexist: File:{{SUBPAGENAME}}_Project.jpg
 +
    | [[Hoofdafbeelding::File:_{{SUBPAGENAME}}_Project.jpg|350px]]
 +
    | [[Category:Projecten zonder afbeelding]]
 +
    }}
 +
  }}
 
|-
 
|-
 
| style="vertical-align:top" | Name
 
| style="vertical-align:top" | Name
Line 41: Line 51:
  
 
|}<includeonly>[[Category:Event|{{{Name}}}]]</includeonly>
 
|}<includeonly>[[Category:Event|{{{Name}}}]]</includeonly>
 
<includeonly>[[#if: Name == Metameet | [[Category:Metameet|{{{Name}}}]] ]]</includeonly>
 

Latest revision as of 21:56, 26 December 2019

Use this template in the following way on event pages:

 {{Event
 |Name=Event Title
 |URL=http://www.event.tld/ or [[MyPage]], etc.
 |DateStart=2014-01-01 
 |DateEnd=2014-14-14 17:00
 |Contact=someone who is the contact
 |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