Vorlage:Karte: Unterschied zwischen den Versionen

K
keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
KKeine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
<noinclude>{{Doku}}</noinclude><includeonly><!--
<noinclude>{{Doku}}</noinclude><includeonly><!--
-->{{Box | {{{ headline | [[Liste aller Straßen, Plätze und Anlagen|{{PAGENAME}}]] }}} |
 
   {{ #if: {{{geojson|}}} |
Zeichne eine Box, die eine Karte enthält:
     {{ #display_map: geojson={{{geojson|}}} | {{ #if: {{{zoom|}}} | zoom={{{zoom}}} }} | enablefullscreen=yes | resizable=yes }} |
-->{{Box | {{{headline | [[Liste aller Straßen, Plätze und Anlagen | {{PAGENAME}} ]] }}} |
     {{ #display_map:
   {{#if: {{{geojson|}}} |
         {{ #ifeq: {{ #geocode: {{{location|}}} }} | Geocoding failed | {{{lat|0}}}, {{{lon|0}}} | {{{location}}} }} ~  
     {{#display_map: geojson={{{geojson|}}} | {{#if: {{{zoom|}}} | zoom={{{zoom}}} }} | enablefullscreen=yes | resizable=yes }} |
     {{#display_map:
         {{#ifeq: {{#geocode: {{{location|}}} }} | Geocoding failed | {{{lat|0}}}, {{{lon|0}}} | {{{location}}} }} ~  
         {{{popuptitle|{{{headline|{{PAGENAME}}}}}}}} ~ {{{popuptext|}}} |
         {{{popuptitle|{{{headline|{{PAGENAME}}}}}}}} ~ {{{popuptext|}}} |
         zoom={{{zoom|16}}} | enablefullscreen=yes | resizable=yes
         zoom={{{zoom|16}}} | enablefullscreen=yes | resizable=yes
     }}
     }}
   }} || right
   }} || right
}}{{ #if: {{{geojson|}}} | |
}}<!--
    {{ #set:Geokoordinate=
 
        {{ #ifeq: {{ #geocode: {{{location|}}} }} | Geocoding failed |  
Übertrage die Geokoordinaten in die SMW-Datenbank:
          {{{lat|0}}}, {{{lon|0}}} |
-->{{#if: {{{geojson|}}} | |
          {{ #geocode: {{{location}}} | format=float | directional=no }}
  {{#set:Geokoordinate=
        }} |
    {{#ifeq: {{#geocode: {{{location|}}} }} | Geocoding failed |  
        Zoomlevel={{{zoom|16}}}
      {{{lat|0}}}, {{{lon|0}}} |
    }}
      {{#geocode: {{{location}}} | format=float | directional=no }}
    }}  
    | Zoomlevel={{{zoom|16}}}
  }}
}}</includeonly>
}}</includeonly>