Template:Coordinates: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 7: Line 7:
   | {{#geocode: {{{venue}}}, {{#var:address}} }} <!-- try address with venue -->
   | {{#geocode: {{{venue}}}, {{#var:address}} }} <!-- try address with venue -->
   }}  
   }}  
}}{{#ifeq: {{#var: coords|Geocoding failed}} | Geocoding failed  
}}{{#if: {{{address|}}}
| {{#vardefine: coords  
| {{#ifeq: {{#var: coords|Geocoding failed}} | Geocoding failed  
  | {{#geocode: {{#var:address}} }} <!-- try address without venue -->
  | {{#vardefine: coords  
    | {{#geocode: {{#var:address}} }} <!-- try address without venue -->
    }}
   }}
   }}
}}{{#ifeq: {{#var: coords|Geocoding failed}} | Geocoding failed
}}{{#ifeq: {{#var: coords|Geocoding failed}} | Geocoding failed

Latest revision as of 21:24, 4 February 2017