15.344
Bearbeitungen
(Die Seite wurde neu angelegt: „<noinclude>{{Doku}}</noinclude><includeonly>{{ifl | {{{Debug|}}} | {{#invoke:Development|print_template_args}} }}<!-- Karte konfigurieren =================== -->{{ {{#ifeq:{{{box|ja}}}|nein|Karte/NoBoxDummy|Box}}<!-- Box -->| {{{headline | {{ifc | {{{geojson|}}} | {{PAGENAME}} }} }}}<!-- -->| {{#ifexist: GeoJson:{{ifc | {{{geojson|}}} | {{PAGENAME}} }}<!-- if GeoJson-Karte existiert? -->| {{#display_map: geojson={{ifc | {{{geojson|}}} | {{PAGENAME}} }}<!…“) |
(Leerzeichen wiederhergestellt) |
||
| Zeile 3: | Zeile 3: | ||
Karte konfigurieren | Karte konfigurieren | ||
=================== | =================== | ||
-->{{ {{#ifeq:{{{box|ja}}}|nein|Karte/NoBoxDummy|Box}}<!-- Box | --> {{ {{#ifeq:{{{box|ja}}}|nein|Karte/NoBoxDummy|Box}} <!-- Box | ||
-->| {{{headline | {{ifc | {{{geojson|}}} | {{PAGENAME}} }} }}}<!-- | --> | {{{headline | {{ifc | {{{geojson|}}} | {{PAGENAME}} }} }}} <!-- | ||
-->| {{#ifexist: GeoJson:{{ifc | {{{geojson|}}} | {{PAGENAME}} }}<!-- if GeoJson-Karte existiert? | --> | {{#ifexist: GeoJson:{{ifc | {{{geojson|}}} | {{PAGENAME}} }} <!-- if GeoJson-Karte existiert? | ||
-->| {{#display_map: geojson={{ifc | {{{geojson|}}} | {{PAGENAME}} }}<!-- then: Karte ausgeben | --> | {{#display_map: geojson={{ifc | {{{geojson|}}} | {{PAGENAME}} }} <!-- then: Karte ausgeben | ||
-->| width={{#ifeq:{{{box|ja}}}|nein|{{{width|50%}}}}}<!-- | --> | width={{#ifeq:{{{box|ja}}}|nein|{{{width|50%}}}}} <!-- | ||
-->| height={{#ifeq:{{{box|ja}}}|nein|{{{height|25%}}}}}<!-- | --> | height={{#ifeq:{{{box|ja}}}|nein|{{{height|25%}}}}} <!-- | ||
-->| zoom={{ifc | {{{zoom|}}} | 16}} | enablefullscreen=yes | resizable=yes<!-- | --> | zoom={{ifc | {{{zoom|}}} | 16}} | enablefullscreen=yes | resizable=yes <!-- | ||
-->}}<!-- | --> }} <!-- | ||
-->| {{#if: {{{location_|}}}{{{locationlist_|}}}{{{geocode|}}}<!-- else: if location, locationlist oder geocode? | --> | {{#if: {{{location_|}}}{{{locationlist_|}}}{{{geocode|}}} <!-- else: if location, locationlist oder geocode? | ||
-->| {{#display_map:<!-- then: Karte ausgeben | --> | {{#display_map: <!-- then: Karte ausgeben | ||
-->{{#if: {{{location_|}}}{{{geocode|}}}<!-- | --> {{#if: {{{location_|}}}{{{geocode|}}} <!-- | ||
-->| {{{geocode|{{{location_|}}}}}}<!-- | --> | {{{geocode|{{{location_|}}}}}} <!-- | ||
-->~ {{{popuptitle|{{{headline|{{PAGENAME}}}}}}}} ~ {{{popuptext|}}};<!-- | --> ~ {{{popuptitle|{{{headline|{{PAGENAME}}}}}}}} ~ {{{popuptext|}}}; <!-- | ||
-->}}<!-- | --> }} <!-- | ||
-->{{{locationlist_|}}}<!-- | --> {{{locationlist_|}}} <!-- | ||
-->| width={{#ifeq:{{{box|ja}}}|nein|{{{width|50%}}}}}<!-- | --> | width={{#ifeq:{{{box|ja}}}|nein|{{{width|50%}}}}} <!-- | ||
-->| height={{#ifeq:{{{box|ja}}}|nein|{{{height|25%}}}}}<!-- | --> | height={{#ifeq:{{{box|ja}}}|nein|{{{height|25%}}}}} <!-- | ||
-->| zoom={{ifc | {{{zoom|}}} | 16}} | enablefullscreen=yes | resizable=yes<!-- | --> | zoom={{ifc | {{{zoom|}}} | 16}} | enablefullscreen=yes | resizable=yes <!-- | ||
-->}}<!-- | --> }} <!-- | ||
-->{{#if: {{{geojson|}}}<!-- if geojson übergeben? | --> {{#if: {{{geojson|}}} <!-- if geojson übergeben? | ||
-->| <small>Karte [{{canonicalurl:GeoJson:{{{geojson|}}}}} {{{geojson|}}}]<!-- then: Edit-Link | --> | <small>Karte [{{canonicalurl:GeoJson:{{{geojson|}}}}} {{{geojson|}}}] <!-- then: Edit-Link | ||
-->nicht gefunden</small><!-- | --> nicht gefunden</small> <!-- | ||
-->}}<!-- | --> }} <!-- | ||
-->| {{#if: {{#if: {{{lat|}}} | {{{lon|}}} }}<!-- else: if lat/lon? | --> | {{#if: {{#if: {{{lat|}}} | {{{lon|}}} }} <!-- else: if lat/lon? | ||
-->| {{#display_map: {{{lat|}}}, {{{lon|}}}<!-- then: Karte ausgeben | --> | {{#display_map: {{{lat|}}}, {{{lon|}}} <!-- then: Karte ausgeben | ||
-->~ {{{popuptitle|{{{headline|{{PAGENAME}}}}}}}} ~ {{{popuptext|}}}<!-- | --> ~ {{{popuptitle|{{{headline|{{PAGENAME}}}}}}}} ~ {{{popuptext|}}} <!-- | ||
-->| width={{#ifeq:{{{box|ja}}}|nein|{{{width|50%}}}}}<!-- | --> | width={{#ifeq:{{{box|ja}}}|nein|{{{width|50%}}}}} <!-- | ||
-->| height={{#ifeq:{{{box|ja}}}|nein|{{{height|25%}}}}}<!-- | --> | height={{#ifeq:{{{box|ja}}}|nein|{{{height|25%}}}}} <!-- | ||
-->| zoom={{ifc | {{{zoom|}}} | 16}} | enablefullscreen=yes | resizable=yes<!-- | --> | zoom={{ifc | {{{zoom|}}} | 16}} | enablefullscreen=yes | resizable=yes <!-- | ||
-->}}<!-- | --> }} <!-- | ||
-->{{#if: {{{geojson|}}}<!-- if geojson übergeben? | --> {{#if: {{{geojson|}}} <!-- if geojson übergeben? | ||
-->| <small>Karte [{{canonicalurl:GeoJson:{{{geojson|}}}}} {{{geojson|}}}]<!-- then: Edit-Link | --> | <small>Karte [{{canonicalurl:GeoJson:{{{geojson|}}}}} {{{geojson|}}}] <!-- then: Edit-Link | ||
-->nicht gefunden</small><!-- | --> nicht gefunden</small> <!-- | ||
-->}}<!-- | --> }} <!-- | ||
-->|<!--{{Karte/KeineKarteMeldung<!-- else: Fehlermeldung | --> | <!--{{Karte/KeineKarteMeldung <!-- else: Fehlermeldung | ||
--><!--| geojson={{ifc | {{{geojson|}}} | {{PAGENAME}} }}<!-- | --> <!--| geojson={{ifc | {{{geojson|}}} | {{PAGENAME}} }} <!-- | ||
--><!--| form={{{form|nein}}}<!-- | --> <!--| form={{{form|nein}}} <!-- | ||
--><!--}}<!-- | --> <!--}} <!-- | ||
-->[[Kategorie:Ohne Position]]<br>Karte temporär außer Betrieb<br> <!-- | --> [[Kategorie:Ohne Position]]<br>Karte temporär außer Betrieb<br> <!-- | ||
-->}}<!-- end if lat/lon | --> }} <!-- end if lat/lon | ||
-->}}<!-- end if location | --> }} <!-- end if location | ||
-->}}<!-- end if GeoJson | --> }} <!-- end if GeoJson | ||
-->| center<!-- | --> | center <!-- | ||
-->| right<!-- | --> | right <!-- | ||
-->}}<!-- Ende der Box | --> }} <!-- Ende der Box | ||
Attribute setzen | Attribute setzen | ||
================ | ================ | ||
-->{{ifl | {{{noattr|}}}<!-- | --> {{ifl | {{{noattr|}}} <!-- | ||
-->|<!-- | --> | <!-- | ||
-->| {{#if: {{{location_|}}}{{{locationlist_|}}}<!-- | --> | {{#if: {{{location_|}}}{{{locationlist_|}}} <!-- | ||
-->| {{#arraymap: {{#arraymap: {{#replace: {{{location_|}}};{{{locationlist_|}}} | ~ | ;~ }} | ; | _l_<!-- alles ab ~ abschneiden. Dabei in künstliche Liste umwandeln | --> | {{#arraymap: {{#arraymap: {{#replace: {{{location_|}}};{{{locationlist_|}}} | ~ | ;~ }} | ; | _l_ <!-- alles ab ~ abschneiden. Dabei in künstliche Liste umwandeln | ||
-->| {{#ifexpr: {{#count: _l_ | ~ }} = 0 | _l_ }}<!-- wenn Element mit ~, dann verwerfen | --> | {{#ifexpr: {{#count: _l_ | ~ }} = 0 | _l_ }} <!-- wenn Element mit ~, dann verwerfen | ||
-->| ;<!-- | --> | ; <!-- | ||
-->}}<!-- | --> }} <!-- | ||
-->| ; | _l_<!-- | --> | ; | _l_ <!-- | ||
-->| {{#set: Geokoordinate={{#geocode: _l_ }}<!-- | --> | {{#set: Geokoordinate={{#geocode: _l_ }} <!-- | ||
-->| Geolokation=_l_<!-- | --> | Geolokation=_l_ <!-- | ||
-->}}<!-- | --> }} <!-- | ||
-->|<!-- | --> | <!-- | ||
-->}}<!-- | --> }} <!-- | ||
-->| {{#if: {{#if: {{{lat|}}} | {{{lon|}}} }}<!-- | --> | {{#if: {{#if: {{{lat|}}} | {{{lon|}}} }} <!-- | ||
-->| {{#set: Geokoordinate={{{lat|}}}, {{{lon|}}} }}<!-- | --> | {{#set: Geokoordinate={{{lat|}}}, {{{lon|}}} }} <!-- | ||
-->}}<!-- | --> }} <!-- | ||
-->}}<!-- | --> }} <!-- | ||
-->{{#ifexist: GeoJson:{{ifc | {{{geojson|}}} | {{PAGENAME}} }}<!-- | --> {{#ifexist: GeoJson:{{ifc | {{{geojson|}}} | {{PAGENAME}} }} <!-- | ||
-->| {{#set: GeoJson=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> | ||