Template:ExternalEventSidebar: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#vardefine: time | {{TimeRegex | {{{time|}}} }} }}{| class="pirate-sidebar external-event"
<includeonly>{{#set:Title Icon=Toicon-icon-avocado-schedule.svg}}{{#vardefine: time | {{TimeRegex | {{{time|}}} }} }}{{#vardefine: endtime | {{TimeRegex | {{{endtime|}}} }} }}{| class="pirate-sidebar external-event"
| style="padding:0;" colspan=2 |
| style="padding:0;" colspan=2 |
{| style="width:100%;" cellspacing=0
{| style="width:100%;" cellspacing=0
! class="title" | {{#if: {{{title|}}} | {{{title}}} | ? }}
! class="title" | {{#if: {{{title|}}} | {{{title}}} | ? }}
| class="icon" | [[File:Toicon-icon-avocado-schedule.svg|x24px|link=Category:External Event]]
| class="icon" | [[File:Toicon-icon-avocado-schedule.svg|x24px|link=Special:MyLanguage/Calendar/External]]
|}
|}
|-
|-
Line 31: Line 31:
|-
|-
! {{int:sidebar-time}}
! {{int:sidebar-time}}
| {{#if: {{{time|}}} | {{#time:{{int:sidebar-time-format}}|{{#var:time}} }} | ? }}
| {{#if: {{{time|}}}  
  | {{#time:{{int:sidebar-time-format}}|{{#var:time}} }} {{#if: {{{endtime|}}} | - {{#time:{{int:sidebar-time-format}}|{{#var:endtime}} }} }}
  | ?  
  }}
|-
|-
{{#if: {{{venue|}}} |  
{{#if: {{{venue|}}} |  
Line 52: Line 55:
   | gratuit = {{int:sidebar-price-free}}
   | gratuit = {{int:sidebar-price-free}}
   | gratis = {{int:sidebar-price-free}}
   | gratis = {{int:sidebar-price-free}}
   | libre = Libre
   | libre = {{int:sidebar-price-libre}}
   | 0 = {{int:sidebar-price-free}}
   | 0 = {{int:sidebar-price-free}}
   | {{{price}}}
   | {{{price}}}
Line 110: Line 113:
       |  
       |  
       | {{#time:Y/m/d H:i|{date} {{#var: time}}}}  
       | {{#time:Y/m/d H:i|{date} {{#var: time}}}}  
      }}
    | Has end date={{#ifeq: {date} | ?
      |
      | {{#time:Y/m/d H:i|{date} {{#if: {{#var: endtime}} | {{#var: endtime}} | {{#var: time}} }} }}
       }}
       }}
     | Has time={{#if: {{#var: time}} | {{#time:H:i|{{#var: time}} }} }}
     | Has time={{#if: {{#var: time}} | {{#time:H:i|{{#var: time}} }} }}
    | Has end time={{#if: {{#var: endtime}}
      | {{#time:H:i|{{#var: endtime}} }}
      | {{#if: {{#var: time}} | {{#time:H:i|{{#var: time}} }} }}
      }}
     | In venue={{{venue|}}}
     | In venue={{{venue|}}}
     | Has link venue={{{linkvenue|}}}
     | Has link venue={{{linkvenue|}}}
Line 149: Line 160:
|date = 14 nov 2016
|date = 14 nov 2016
|time = 12am
|time = 12am
|endtime = 2am
|venue = Flying Dutchman
|venue = Flying Dutchman
|linkvenue = http://www.the-flying-dutchman.nl/
|linkvenue = http://www.the-flying-dutchman.nl/
Line 167: Line 179:
|date = 14 nov 2016
|date = 14 nov 2016
|time = 12am
|time = 12am
|endtime = 2am
|venue = Flying Dutchman
|venue = Flying Dutchman
|linkvenue = http://www.the-flying-dutchman.nl/
|linkvenue = http://www.the-flying-dutchman.nl/

Latest revision as of 01:53, 7 March 2019

An awesome event Toicon-icon-avocado-schedule.svg
Logo-heart 135px.png
Date Mon 14 November 2016
Time 12:00am - 2:00am
Venue Flying Dutchman
Address
Treasure Island 666
9000 Atlantica
City
Price Free
Website [1]
Topics Some good topic
Loading map...
Find routes on OpenStreetMap
Export iCalendar
Clone this event

Usage

{{ExternalEventSidebar
|title = An awesome event
|image = Logo-heart 135px.png
|workgroup = An awesome crew
|topics = Some good topic
|date = 14 nov 2016
|time = 12am
|endtime = 2am
|venue = Flying Dutchman
|linkvenue = http://www.the-flying-dutchman.nl/
|address = Treasure Island 666
|postalcode = 9000
|city = Atlantica
|url = https://pirateparty.be
|price = free
}}