Difference between revisions of "Template:Coordinates"
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 |
− | + | | {{#vardefine: coords | |
+ | | {{#geocode: {{#var:address}} }} <!-- try address without venue --> | ||
+ | }} | ||
}} | }} | ||
}}{{#ifeq: {{#var: coords|Geocoding failed}} | Geocoding failed | }}{{#ifeq: {{#var: coords|Geocoding failed}} | Geocoding failed |