Vorlage:Distanz
(Unterschied zwischen Versionen)
Zeile 1: | Zeile 1: | ||
− | <includeonly>{{#arraydefine:Entfernungsarray|{{#arrayprint:Entfernungsarray}},{{Entfernungsformat|{{#geodistance:{{#var:G}}|{{{2}}}|unit=km|service=google}}}} [[{{{3|}}}]] {{#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> | + | <includeonly>{{#arraydefine:Entfernungsarray|{{#arrayprint:Entfernungsarray}},{{Entfernungsformat|{{#geodistance:{{#var:G}}|{{{2}}}|unit=km|service=google}}}} [[{{{3|}}}|{{{4|}}}]] {{#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> |