Vorlage:Karte: Unterschied zwischen den Versionen

#if: {{{location|}}} für Geolokation
(fix ... ich stehe auf Kriegsfuß mit Kommentaren :-()
(#if: {{{location|}}} für Geolokation)
Zeile 40: Zeile 40:
Attribute setzen
Attribute setzen
================
================
-->{{#set: Zoomlevel={{{zoom|16}}} | Geolokation={{{location|}}} }} <!--
-->{{#if: {{{location|}}}                                   <!-- if location? -->
 
   | {{#set: Geokoordinate={{#geocode: {{{location|}}} }} <!-- then: location-Geokoordinate setzen -->
-->{{#if: {{{location|}}}                                           <!-- if location? -->
            Geolokation={{{location|}}}                  }} <!--      Geolokation setzen -->
   | {{#set: Geokoordinate={{#geocode: {{{location}}} }} }}        <!-- then: location-Geokoordinate setzen -->
   | {{#if: {{{lat|}}}{{{lon|}}}                             <!-- else: if lat/lon? -->
   | {{#if: {{{lat|}}}{{{lon|}}}                                   <!-- else: if lat/lon? -->
     | {{#set: Geokoordinate={{{lat|}}}, {{{lon|}}} }}       <!--      then: lat/lon- Geokoordinate setzen -->
     | {{#set: Geokoordinate={{{lat}}}, {{{lon}}} }}               <!--      then: lat/lon- Geokoordinate setzen -->
     }}
     }}
   }}<!--
   }}<!--
-->{{#set: Zoomlevel={{{zoom|16}}} }}<!--


-->[[Kategorie:Hat Karte]]<!--
-->[[Kategorie:Hat Karte]]<!--
--></includeonly>
--></includeonly>