Sjabloon:Event: verschil tussen versies

Uit Hackerspace Nijmegen Wiki
Naar navigatie springen Naar zoeken springen
Geen bewerkingssamenvatting
Geen bewerkingssamenvatting
Regel 3: Regel 3:


   <nowiki>{{</nowiki>Event
   <nowiki>{{</nowiki>Event
   |Name=
   |Name=Event Title
   |Type=
   |URL=http://www.event.tld/ or <nowiki>[[MyPage]]</nowiki>, etc.
   |Location=
   |DateStart=2014-01-01
   |StartDate=
   |DateEnd=2014-14-14 17:00
   |EndDate=
   |Contact=someone who is the contact
   |CloseDate=
   |Info=This event is all about Biz and Baz!
   |Contact=
   |InfoLocation=This event is held in Doe city
   |Info=
   |InfoOpen=We're open from $date $time
   |Speaker=
   |InfoTicket=Tickets cost &euro; 42,-
   |Picture=
   |InfoSignup=You can signup on the https://secure.websi.te/
   <nowiki>}}</nowiki>
   <nowiki>}}</nowiki>


</noinclude>{| style="float: right; clear: left; width: 400px; border: 2px solid green"
</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"
|- 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
|[[Event Name::{{{Name}}}]]
|[[Event Name::{{{Name}}}]]
|}
{{#if:{{{URL|}}} |
 
{{!}}-
{{#if:{{{Contact}}} |
{{!}} style="vertical-align:top" {{!}} Website
{{!}}[[Event URL::{{{URL}}}]]
|}}
{{#if:{{{Contact|}}} |
{{!}}-  
{{!}}-  
{{!}} style="vertical-align:top" {{!}} Contact
{{!}} style="vertical-align:top" {{!}} Contact
{{!}}[[Event Contact::{{{Contact}}}]]
{{!}}[[Event Contact::{{{Contact}}}]]
|}}
|}}
| Datum || {{#if:{{{StartDate|}}}| [[Event StartDate::{{{StartDate}}}]] | [[Event StartDate::Jan 13 1337 13:37:00]] }}  {{#if:{{{EndDate|}}}| - [[Event EndDate::{{{EndDate}}}]]|}}
|-
| 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}}}]]|}}
|-
|-
| style="vertical-align:top" | Information
| style="vertical-align:top" | Information
|{{#if:{{{Info|}}}| [[Event Info::{{{Info}}}]]|}}
|{{#if:{{{Info|}}}| [[Event Info::{{{Info}}}]]|}}
|{{#if:{{{Location|}}}|<br />* Location: [[Event Location::{{{Location}}}]]|}}
{{#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>

Versie van 7 aug 2024 20:08

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