Difference between revisions of "Template:MeetingSidebar"
(has coordinates property) |
|||
Line 45: | Line 45: | ||
{{!}}- }} | {{!}}- }} | ||
{{#if: {{{city|}}} | {{#if: {{{city|}}} | ||
− | | {{#if: {{{address|}}} | + | | {{#vardefine: address | {{#if: {{{address|}}} | {{{address}}}, }} {{{city}}}, BE }}<!-- define the complet address |
− | + | -->{{#if: {{{place|}}} | |
− | + | | {{#vardefine: coords | {{#geocode: {{{place}}}, {{#var: address}} }} }} }}<!-- define coordinates with with venue name | |
− | + | -->{{#ifeq: {{#var: coords|Geocoding failed}} | Geocoding failed | |
− | + | | {{#if: {{{address|}}} | {{#vardefine: coords | {{#geocode: {{#var: address}} }} }} }} }}<!-- try without venue name | |
− | + | -->{{#ifeq: {{#var: coords|Geocoding failed}} | Geocoding failed | | | |
− | |||
{{!}} colspan=2 {{!}} {{#display_map: {{#var: coords}} | height = 225px }}{{#set: Has coordinates={{#var: coords}} }} | {{!}} colspan=2 {{!}} {{#display_map: {{#var: coords}} | height = 225px }}{{#set: Has coordinates={{#var: coords}} }} | ||
− | + | }} }} | |
|} {{#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 | ||
|lang = en | |lang = en |
Revision as of 22:31, 1 February 2017
| |||
Workgroup | An awesome team | ||
---|---|---|---|
Date | Mon 14 November 2016 | ||
Time | 12:00am | ||
Address |
| ||
City | |||
Absentees | Paul, Eve | ||
Loading map...
| |||
Find routes on OpenStreetMap | |||
Export | iCalendar | ||
Clone this meeting |
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 }}