Vorlage:Distanz
(Unterschied zwischen Versionen)
Zeile 1: | Zeile 1: | ||
<includeonly>{{#arraydefine:Entfernungsarray | <includeonly>{{#arraydefine:Entfernungsarray | ||
|{{#arrayprint:Entfernungsarray}},{{Entfernungsformat | |{{#arrayprint:Entfernungsarray}},{{Entfernungsformat | ||
− | |{{#geodistance:{{#var:G}}|{{{2}}}|unit=km|service=google}}}} [[{{{3|}}}|{{{4|}}}]] in {{{5|}}} {{{6|}}} {{{7|}}} {{{8|}}} {{#vardefine:H|{{#coordinates:{{{2}}}|format=float|directional=no}}}}([https://maps.google.com/maps?saddr={{#replace:{{#var:AO}}| |+}}&daddr={{#replace:{{{7|}}} {{{8|}}} | + | |{{#geodistance:{{#var:G}}|{{{2}}}|unit=km|service=google}}}} [[{{{3|}}}|{{{4|}}}]] in {{{5|}}} {{{6|}}} {{{7|}}} {{{8|}}} {{#vardefine:H|{{#coordinates:{{{2}}}|format=float|directional=no}}}}([https://maps.google.com/maps?saddr={{#replace:{{#var:AO}}| |+}}&daddr={{#replace:{{{7|}}} {{{8|}}} {{{5|}}}| |+}} Route])}}</includeonly> |
<!--([https://maps.google.com/maps?saddr={{#replace:{{#replace:{{#var:G}}| |+}}|,|}}&daddr={{#replace:{{#replace:{{#var:H}}| |+}}|,|}} Route])}}--> | <!--([https://maps.google.com/maps?saddr={{#replace:{{#replace:{{#var:G}}| |+}}|,|}}&daddr={{#replace:{{#replace:{{#var:H}}| |+}}|,|}} Route])}}--> |
Version vom 14. Juli 2017, 23:49 Uhr