Vorlage:Umkreissuche Adresse

(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
Zeile 4: Zeile 4:
 
|{{#explode:{{{Entfernung|}}}| |0}}}}{{#vardefine:u|{{#explode:{{{Entfernung|}}}| |1}}}}{{#ifeq:{{#var:u}}
 
|{{#explode:{{{Entfernung|}}}| |0}}}}{{#vardefine:u|{{#explode:{{{Entfernung|}}}| |1}}}}{{#ifeq:{{#var:u}}
 
|km|{{#vardefine:ee|{{#var:e}}}}|{{#vardefine:ee|{{#expr:{{#var:e}} div 1000}}}}}}{{#vardefine:Breite
 
|km|{{#vardefine:ee|{{#var:e}}}}|{{#vardefine:ee|{{#expr:{{#var:e}} div 1000}}}}}}{{#vardefine:Breite
|{{#explode:{{#var:G}}|,|0}}}}{{#vardefine:Länge
+
|{{#explode:{{{Geopunkt}}}|,|0}}}}{{#vardefine:Länge
|{{#explode:{{#var:G}}| |1}}}}{{#vardefine:BreiteO
+
|{{#explode:{{{Geopunkt}}}| |1}}}}{{#vardefine:BreiteO
|{{#expr:{{#explode:{{#var:G}}|,|0}}+{{#var:ee}}/111}}}}{{#vardefine:BreiteU
+
|{{#expr:{{#explode:{{{Geopunkt}}}|,|0}}+{{#var:ee}}/111}}}}{{#vardefine:BreiteU
|{{#expr:{{#explode:{{#var:G}}|,|0}}-{{#var:ee}}/111}}}}{{#vardefine:LängeR
+
|{{#expr:{{#explode:{{{Geopunkt}}}|,|0}}-{{#var:ee}}/111}}}}{{#vardefine:LängeR
|{{#expr:{{#explode:{{#var:G}}| |1}}+{{#var:ee}}/{{#expr:111*cos({{#var:BreiteO}}*0.01745)}}}}}}{{#vardefine:LängeL
+
|{{#expr:{{#explode:{{{Geopunkt}}}| |1}}+{{#var:ee}}/{{#expr:111*cos({{#var:BreiteO}}*0.01745)}}}}}}{{#vardefine:LängeL
|{{#expr:{{#explode:{{#var:G}}| |1}}-{{#var:ee}}/{{#expr:111*cos({{#var:BreiteO}}*0.01745)}}}}}}{{#vardefine:BO|{{#sub:{{geoformat
+
|{{#expr:{{#explode:{{{Geopunkt}}}| |1}}-{{#var:ee}}/{{#expr:111*cos({{#var:BreiteO}}*0.01745)}}}}}}{{#vardefine:BO|{{#sub:{{geoformat
 
|{{#var:BreiteO}}}}|0|10}}}}{{#vardefine:BU
 
|{{#var:BreiteO}}}}|0|10}}}}{{#vardefine:BU
 
|{{#sub:{{geoformat|{{#var:BreiteU}}}}|0|10}}}}{{#vardefine:LR
 
|{{#sub:{{geoformat|{{#var:BreiteU}}}}|0|10}}}}{{#vardefine:LR
Zeile 16: Zeile 16:
 
[[Category:Adresse]]{{#if:{{{Art|}}}|[[Art::{{{Art|}}}]]|}}
 
[[Category:Adresse]]{{#if:{{{Art|}}}|[[Art::{{{Art|}}}]]|}}
 
[[Geobreite::<{{#var:BO}}]][[Geolänge::<{{#var:LR}}]][[Geobreite::>{{#var:BU}}]][[Geolänge::>{{#var:LL}}]]
 
[[Geobreite::<{{#var:BO}}]][[Geolänge::<{{#var:LR}}]][[Geobreite::>{{#var:BU}}]][[Geolänge::>{{#var:LL}}]]
|userparam={{#var:G}}+{{#var:ee}}+{{#var:u}}
+
|userparam={{{Geopunkt}}}+{{#var:ee}}+{{#var:u}}
 
|?Geokoordinate
 
|?Geokoordinate
 
|format=template
 
|format=template

Version vom 26. März 2014, 20:36 Uhr

This is the 'Umkreissuche Adresse' template. It should be called via the Formular:Umkreissuche Adresse form.

Meine Werkzeuge
Namensräume
Varianten
Aktionen
Navigation
Adressen
Lebensmittel
Tierfutter
Schilddrüse
Öffentlichkeitsarbeit
Medien
Wissenschaft
Jodgeschichten
Wiki
Werkzeuge