Vorlage:Karte: Unterschied zwischen den Versionen

Aus FürthWiki

noattr Parameter
(Fall fehlende geojson-Karte bei lat/lon/location)
(noattr Parameter)
Zeile 48: Zeile 48:
Attribute setzen
Attribute setzen
================
================
--> {{#if: {{{location|}}}                                <!--
--> {{ifl | {{{noattr|}}}                                   <!--
--> | {{#set: Geokoordinate={{#geocode: {{{location|}}} }} <!--
--> |                                                       <!--
-->  |      Geolokation={{{location|}}}                  <!--
-->  }}                                                  <!--
--> | {{#if: {{{lat|}}}{{{lon|}}}                         <!--
-->   | {{#set: Geokoordinate={{{lat|}}}, {{{lon|}}} }}    <!--
-->  }}                                                  <!--
--> }}                                                    <!--


--> {{#ifexist: GeoJson:{{ifc | {{{geojson|}}} | {{PAGENAME}} }}          <!--
--> | {{#if: {{{location|}}}                                <!--
--> | {{#set: GeoJson=GeoJson:{{ifc | {{{geojson|}}} | {{PAGENAME}} }} }} <!--
-->  | {{#set: Geokoordinate={{#geocode: {{{location|}}} }} <!--
--> }}                                                                    <!--
-->    |      Geolokation={{{location|}}}                  <!--
-->    }}                                                  <!--
-->  | {{#if: {{{lat|}}}{{{lon|}}}                          <!--
-->    | {{#set: Geokoordinate={{{lat|}}}, {{{lon|}}} }}    <!--
-->    }}                                                  <!--
-->  }}                                                    <!--
     
-->  {{#ifexist: GeoJson:{{ifc | {{{geojson|}}} | {{PAGENAME}} }}          <!--
-->   | {{#set: GeoJson=GeoJson:{{ifc | {{{geojson|}}} | {{PAGENAME}} }} }} <!--
-->   }}                                                                    <!--
     
-->  {{#set: Zoomlevel={{ifc | {{{zoom|}}} | 16}} }} <!--


--> {{#set: Zoomlevel={{ifc | {{{zoom|}}} | 16}} }} <!--
--> }} <!--


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


--></includeonly>
--></includeonly>