Template:MeetingSidebar: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
mNo edit summary
(add noproperties parameter)
Line 101: Line 101:
|}{{#switch: {{SUBPAGENAME}}
|}{{#switch: {{SUBPAGENAME}}
| fr = | nl = | en = | de =
| fr = | nl = | en = | de =
| {{#set:
| {{#ifeq: {{{noproperties|}}} | true
  | Has title={{#ifeq: {{{meetingname|Meeting}}} | Meeting
  |
    | Meeting {{#if: {{{workgroup|}}} | ({{{workgroup}}}) }}  
  | {{#set:
     | {{{meetingname|}}}  
    | Has title={{#ifeq: {{{meetingname|Meeting}}} | Meeting
      | Meeting {{#if: {{{workgroup|}}} | ({{{workgroup}}}) }}
      | {{{meetingname|}}}
      }}
     | Organized by={{{workgroup|}}}|+sep=,
    | In topic={{{topics|}}}|+sep=,
    | Has date={{#time:Y/m/d H:i|{{{date}}} {{#var: time}} }}
    | Has time={{#if: {{#var:time}} | {{#time:H:i|{{#var: time}} }} }}
    | In venue={{{venue|}}}
    | Has link venue={{{linkvenue|}}}
    | Has address={{{address|}}}
    | In postal code={{{postalcode|}}}
    | In city={{{city|}}}
    | Has attendee={{{attendees|}}}|+sep=,
    | Has absentee={{{absentees|}}}|+sep=,
    | Has url={{fullurl:{{FULLPAGENAME}}}}
    | Has coordinates={{#var:coords}}
    | Has location={{#if: {{{venue|}}}
      | {{{venue}}} {{#if: {{{address|}}}{{{city|}}} | – }}
      }} {{#if: {{{address|}}}
      | {{{address}}}{{#if: {{{city|}}} | , }}
      }} {{{city|}}}
    | Has event type=Meeting
    | Has default form=Meeting event
    | Has page={{FULLPAGENAME}}
     }}
     }}
  | Organized by={{{workgroup|}}}|+sep=,
  | In topic={{{topics|}}}|+sep=,
  | Has date={{#time:Y/m/d H:i|{{{date}}} {{#var: time}} }}
  | Has time={{#if: {{#var:time}} | {{#time:H:i|{{#var: time}} }} }}
  | In venue={{{venue|}}}
  | Has link venue={{{linkvenue|}}}
  | Has address={{{address|}}}
  | In postal code={{{postalcode|}}}
  | In city={{{city|}}}
  | Has attendee={{{attendees|}}}|+sep=,
  | Has absentee={{{absentees|}}}|+sep=,
  | Has url={{fullurl:{{FULLPAGENAME}}}}
  | Has coordinates={{#var:coords}}
  | Has location={{#if: {{{venue|}}}
    | {{{venue}}} {{#if: {{{address|}}}{{{city|}}} | – }}
    }} {{#if: {{{address|}}}
    | {{{address}}}{{#if: {{{city|}}} | , }}
    }} {{{city|}}}
  | Has event type=Meeting
  | Has default form=Meeting event
  | Has page={{FULLPAGENAME}}
   }}
   }}
}} {{#if: {{{nocat|}}}  
}} {{#if: {{{nocat|}}}  

Revision as of 12:43, 10 February 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
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
|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
}}