Sjabloon:Event: verschil tussen versies

Uit Hackerspace Nijmegen Wiki
Naar navigatie springen Naar zoeken springen
(Nieuwe pagina aangemaakt met '<noinclude> Use this template in the following way on event pages: <nowiki>{{</nowiki>Event |Name=Event Name |URL=http://www.event.tld/ or <nowiki>MyPage</nowiki>, 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 |InfoPrice=Quanta Costa? € 42,- |In...')
 
Geen bewerkingssamenvatting
 
(13 tussenliggende versies door dezelfde gebruiker niet weergegeven)
Regel 3: Regel 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
   |InfoOpen=We're open from $date $time
   |InfoOpen=We're open from $date $time
   |InfoPrice=Quanta Costa? &euro; 42,-
   |InfoTicket=Tickets cost &euro; 42,-
   |InfoSignup=You can signup on the https://secure.websi.te/
   |InfoSignup=You can signup on the https://secure.websi.te/
  |Status={Undefined, Current, Archive}
   <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
Regel 34: Regel 43:
|-
|-
| style="vertical-align:top" | {{#if:{{{DateEnd|}}}|Duration|When}}
| 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}}}]]|}}
|{{#if:{{{DateStart|}}}|[[Event DateStart::{{{DateStart}}}]]| [[Event DateStart::1-1-1970 00:00: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:{{{InfoLocation|}}}|<br />* Location: [[Event Location::{{{InfoLocation}}}]]|}}{{#if:{{{InfoOpen|}}}|<br />* Open from: [[Event TimeStart::{{{InfoOpen}}}]]|}}{{#if:{{{InfoPrice|}}}| <br />* Ticket price: [[Event Price::{{{InfoPrice}}}]]|}}{{#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}}}]]|}}
|-
|Status
|{{#if:{{{Status|}}}| [[EventStatus::{{{Status}}}]]|}}
|-
|-


|}<includeonly>[[Category:Event|{{{Name}}}]]</includeonly>
|}<includeonly>[[Category:Event|{{{Name}}}]]</includeonly>

Huidige versie van 14 aug 2024 om 20:38

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 1-1-1970 00:00:00
Information