Vorlage:Umkreissuche
(Unterschied zwischen Versionen)
Zeile 1: | Zeile 1: | ||
<noinclude>This is the 'Umkreissuche' template. It should be called via the [[Formular:Umkreissuche]] form. | <noinclude>This is the 'Umkreissuche' template. It should be called via the [[Formular:Umkreissuche]] form. | ||
− | </noinclude><includeonly>{{#vardefine:G|{{#geocode:location={{{Straße|}}}, {{{Ausgangsort|}}}|format=float|directional=no|service=google}}}} | + | </noinclude><includeonly>{{#vardefine:G|{{#geocode:location={{{Straße|}}}, {{{Ausgangsort|}}}|format=float|directional=no|service=google}}}}{{#switch: {{{Entfernung|}}} |
| 100 m = {{#vardefine:zoom|17}} | | 100 m = {{#vardefine:zoom|17}} | ||
| 250 m = {{#vardefine:zoom|16}} | | 250 m = {{#vardefine:zoom|16}} | ||
Zeile 14: | Zeile 14: | ||
| 500 km = {{#vardefine:zoom|6}} | | 500 km = {{#vardefine:zoom|6}} | ||
| 1000 km = {{#vardefine:zoom|5}} | | 1000 km = {{#vardefine:zoom|5}} | ||
− | | #default = {{#vardefine:zoom| }}}}Adressen ohne Jodsalz in {{{Entfernung|}}} Entfernung von {{{Ausgangsort|}}} {{{Straße|}}}{{clearleft}}<div style="float:left; background-color:#f9f9f9; border:1px solid #aaaaaa; margin-left:0em; margin-bottom:1em; padding:0.5em 0.5em 0.5em 0.5em;">{{MAP-Zoom|600|{{#var:zoom}}|{{#var:G}}|{{{Art|}}}}}</div> | + | | #default = {{#vardefine:zoom| }}}}Adressen ohne Jodsalz in {{{Entfernung|}}} Entfernung von {{{Ausgangsort|}}} {{{Straße|}}}<br>{{clearleft}}<div style="float:left; background-color:#f9f9f9; border:1px solid #aaaaaa; margin-left:0em; margin-bottom:1em; padding:0.5em 0.5em 0.5em 0.5em;">{{MAP-Zoom|600|{{#var:zoom}}|{{#var:G}}|{{{Art|}}}}}</div> |
</includeonly> | </includeonly> |
Version vom 6. März 2014, 22:10 Uhr
This is the 'Umkreissuche' template. It should be called via the Formular:Umkreissuche form.