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}}} {{{ | + | |{{#geodistance:{{#var:G}}|{{{2}}}|unit=km|service=google}}}} [[{{{3|}}}|{{{4|}}}]] in {{{5}}} {{{6}}} {{{7}}} {{#show: {{{3|}}}|?Hausnummer}} {{#vardefine:H|{{#coordinates:{{{2}}}|format=float|directional=no}}}}([https://maps.google.com/maps?saddr={{#replace:{{#replace:{{#var:G}}| |+}}|,|}}&daddr={{#replace:{{#replace:{{#var:H}}| |+}}|,|}} Route])}}</includeonly> |