Template:MeetingSidebar: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
No edit summary
No edit summary
Line 44: Line 44:
{{!}}}
{{!}}}
{{!}}- }}
{{!}}- }}
{{#if: {{{city|}}} | {{#if: {{{address|}}}{{{street|}}} | {{#vardefine: coords|{{#geocode: {{#if: {{{place|}}} | {{{place}}}, }} {{#if: {{{address|}}} | {{{address}}}, | {{#if: {{{street|}}} | {{{street}}} {{{number|}}}, }} }} {{{city}}}, BE }} }} {{#ifeq: {{#var: coords }} | Geocoding failed | |
{{#if: {{{city|}}}  
{{!}} colspan=2 {{!}} {{#display_map:{{#var: coords}}|height=225px}}
| {{#vardefine: address | {{#if: {{{address|}}} | {{{address}}}, }} {{{city|}}}, BE }}<!--
-->{{#vardefine: coords | {{#geocode: {{#if: {{{place|}}} | {{{place}}}, }} {{#var: address}} }} }}<!-- try with venue name
-->{{#ifeq: {{#var: coords }} | Geocoding failed
  | {{#vardefine: coords
  | {{#geocode: {{#var: address}} }} }}<!-- try without venue name
  -->{{#ifeq: {{#var: coords }} | Geocoding failed
    |  
{{!}} colspan=2 {{!}} {{#display_map: {{#var: coords}} | height = 225px }}
}} }} }}
}} }} }}
|} {{#if: {{{nocat|}}} | |  [[Category:Event]] [[Category:Meeting]] }} [[In language::{{{lang|en}}}| ]] [[Has default form::Meeting event| ]] [[Has event type::Meeting| ]]</includeonly><noinclude>{{MeetingSidebar
|} {{#if: {{{nocat|}}} | |  [[Category:Event]] [[Category:Meeting]] }} [[In language::{{{lang|en}}}| ]] [[Has default form::Meeting event| ]] [[Has event type::Meeting| ]]</includeonly><noinclude>{{MeetingSidebar

Revision as of 20:55, 1 February 2017

Our awesome meeting
Workgroup An awesome 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
Agenda Minutes
Loading map...

Usage

{{MeetingSidebar
|lang = en
|meetingname = Our awesome meeting
|workgroup = An awesome team
|date = 14 nov 2016
|time = 12:00am
|place = Flying Dutchman
|address = Treasure Island 666
|postalcode = 9000
|city = Atlantica
|participants = Jack, Mary, Jurgen
|absentees = Paul, Eve
|agenda = #Agenda
|minutes = #Minutes
}}