Template:MeetingSidebar: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
(add noproperties parameter)
No edit summary
Line 1: Line 1:
<includeonly>{{#vardefine: time | {{TimeRegex | {{{time|}}} }} }}{| class="pirate-sidebar meeting-event"
<includeonly>{{#vardefine: time | {{TimeRegex | {{{time|}}} }} }}{{#vardefine: endtime | {{TimeRegex | {{{endtime|}}} }} }}{| class="pirate-sidebar meeting-event"
| style="padding:0" colspan=2 |
| style="padding:0" colspan=2 |
{| cellspacing=0 style="width:100%;"
{| cellspacing=0 style="width:100%;"
Line 36: Line 36:
|-
|-
! {{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 111: Line 114:
     | In topic={{{topics|}}}|+sep=,
     | In topic={{{topics|}}}|+sep=,
     | Has date={{#time:Y/m/d H:i|{{{date}}} {{#var: time}} }}
     | Has date={{#time:Y/m/d H:i|{{{date}}} {{#var: time}} }}
    | Has end 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 141: Line 149:
|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 159: Line 168:
|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/

Revision as of 11:09, 18 April 2018

Our awesome meeting Toicon-icon-avocado-discuss.svg
Logo-heart 135px.png
Workgroup An awesome team
Another team
Date Mon 14 November 2016
Time 12:00am - 2:00am
Venue Flying Dutchman
Address
Treasure Island 666
9000 Atlantica
City
Attendees Jack, Mary, Jurgen
Absentees Paul, Eve
Topics Some good topic
Loading map...
Find routes on OpenStreetMap
Export iCalendar
Clone this meeting

Usage

{{MeetingSidebar
|meetingname = Our awesome meeting
|image = Logo-heart 135px.png
|workgroup = An awesome team, Another team
|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
|attendees = Jack, Mary, Jurgen
|absentees = Paul, Eve
}}