Vorlage:Umkreissuche
(Unterschied zwischen Versionen)
Zeile 6: | Zeile 6: | ||
}}{{clearleft}}<br><div style="float:right; background-color:#f9f9f9; border:1px solid #aaaaaa; margin-left:0em; margin-bottom:1em; padding:0.5em 0.5em 0.5em 0.5em;">{{MAP-Zoom|450|{{zoom|{{{Entfernung|}}}}}|{{#var:G}}|{{{Art|}}}|{{{Entfernung|}}}|{{#var:G}}}}</div>{{#vardefine:e|{{#explode:{{{Entfernung|}}}| |0}}}}{{#vardefine:u|{{#explode:{{{Entfernung|}}}| |1}}}}{{#ifeq:{{#var:u}}|km|{{#vardefine:ee|{{#var:e}}}}|{{#vardefine:ee|{{#expr:{{#var:e}} div 1000}}}}}}{{#vardefine:BreiteO|{{#expr:{{#explode:{{#var:G}}|,|0}}+{{#var:ee}}/60}}}}{{#vardefine:BreiteU|{{#expr:{{#explode:{{#var:G}}|,|0}}-{{#var:ee}}/60}}}}{{#vardefine:LängeR|{{#expr:{{#explode:{{#var:G}}| |1}}+{{#var:ee}}/35}}}}{{#vardefine:LängeL|{{#expr:{{#explode:{{#var:G}}| |1}}-{{#var:ee}}/35}}}} | }}{{clearleft}}<br><div style="float:right; background-color:#f9f9f9; border:1px solid #aaaaaa; margin-left:0em; margin-bottom:1em; padding:0.5em 0.5em 0.5em 0.5em;">{{MAP-Zoom|450|{{zoom|{{{Entfernung|}}}}}|{{#var:G}}|{{{Art|}}}|{{{Entfernung|}}}|{{#var:G}}}}</div>{{#vardefine:e|{{#explode:{{{Entfernung|}}}| |0}}}}{{#vardefine:u|{{#explode:{{{Entfernung|}}}| |1}}}}{{#ifeq:{{#var:u}}|km|{{#vardefine:ee|{{#var:e}}}}|{{#vardefine:ee|{{#expr:{{#var:e}} div 1000}}}}}}{{#vardefine:BreiteO|{{#expr:{{#explode:{{#var:G}}|,|0}}+{{#var:ee}}/60}}}}{{#vardefine:BreiteU|{{#expr:{{#explode:{{#var:G}}|,|0}}-{{#var:ee}}/60}}}}{{#vardefine:LängeR|{{#expr:{{#explode:{{#var:G}}| |1}}+{{#var:ee}}/35}}}}{{#vardefine:LängeL|{{#expr:{{#explode:{{#var:G}}| |1}}-{{#var:ee}}/35}}}} | ||
O:{{#var:BreiteO}} U:{{#var:BreiteU}} - R:{{#var:LängeR}} L:{{#var:LängeL}} | O:{{#var:BreiteO}} U:{{#var:BreiteU}} - R:{{#var:LängeR}} L:{{#var:LängeL}} | ||
+ | geodistance {{#geodistance:{{#var:BreiteO}}, {{#var:LängeL}}|{{#var:BreiteO}}, {{#var:LängeL}}|unit=km}} | ||
{{#ask: | {{#ask: | ||
[[Category:Adresse]]{{#if:{{{Art|}}}|[[Art::{{{Art|}}}]]|}} | [[Category:Adresse]]{{#if:{{{Art|}}}|[[Art::{{{Art|}}}]]|}} |
Version vom 25. März 2014, 00:46 Uhr
This is the 'Umkreissuche' template. It should be called via the Formular:Umkreissuche form.