Vorlage:Karte: Unterschied zwischen den Versionen

locationlist zu Geokoordinate/Geolokation
(Änderung 746140 von HeikoBot (Diskussion) rückgängig gemacht.)
(locationlist zu Geokoordinate/Geolokation)
Zeile 48: Zeile 48:
Attribute setzen
Attribute setzen
================
================
--> {{ifl | {{{noattr|}}}                                   <!--
--> {{ifl | {{{noattr|}}}                                                                                         <!--
--> |                                                       <!--
--> |                                                                                                             <!--
--> | {{#if: {{{location|}}}                                 <!--
--> | {{#if: {{{location|}}}{{{locationlist|}}}                                                                  <!--
-->  | {{#set: Geokoordinate={{#geocode: {{{location|}}} }} <!--
-->  | {{#arraymap: {{{location|}}};{{#ifexpr: {{#count: {{{locationlist|}}} | ~ }} = 0 | {{{locationlist|}}} }} <!--
-->    |       Geolokation={{{location|}}}                  <!--
-->    | ;                                                                                                      <!--
-->    }}                                                   <!--
-->    | _l_                                                                                                    <!--
-->  | {{#if: {{{lat|}}}{{{lon|}}}                         <!--
-->    | {{#set: Geokoordinate={{#geocode: _l_ }}                                                                <!--
-->    | {{#set: Geokoordinate={{{lat|}}}, {{{lon|}}} }}   <!--
-->      |       Geolokation=_l_                                                                                <!--
-->    }}                                                   <!--
-->      }}                                                                                                     <!--
-->  }}                                                     <!--
-->    |                                                                                                        <!--
-->    }}                                                                                                       <!--
-->  | {{#if: {{{lat|}}}{{{lon|}}}                                                                               <!--
-->    | {{#set: Geokoordinate={{{lat|}}}, {{{lon|}}} }}                                                         <!--
-->    }}                                                                                                       <!--
-->  }}                                                                                                         <!--
        
        
-->  {{#ifexist: GeoJson:{{ifc | {{{geojson|}}} | {{PAGENAME}} }}          <!--
-->  {{#ifexist: GeoJson:{{ifc | {{{geojson|}}} | {{PAGENAME}} }}          <!--