|
|
| (41 dazwischenliegende Versionen von 3 Benutzern werden nicht angezeigt) |
| Zeile 1: |
Zeile 1: |
| <noinclude>{{Doku}}</noinclude><includeonly><!-- | | <noinclude>{{Doku}}</noinclude><includeonly>{{#invoke:Karte{{ifl|{{{Work|}}}|/Work}}|Karte}}</includeonly> |
| | |
| Karte konfigurieren
| |
| ===================
| |
| -->{{ {{#ifeq:{{{box|ja}}}|nein|Karte/NoBoxDummy|Box}} <!-- Box -->
| |
| | {{{headline|{{{geojson|{{PAGENAME}}}}}}}}
| |
| | {{#ifexist: GeoJson:{{{geojson|{{PAGENAME}}}}} <!-- if GeoJson-Karte existiert? -->
| |
| | {{#display_map: geojson={{{geojson|{{PAGENAME}}}}} <!-- then: Karte ausgeben -->
| |
| | width={{#ifeq:{{{box|ja}}}|nein|{{{width|50%}}}}}
| |
| | height={{#ifeq:{{{box|ja}}}|nein|{{{height|25%}}}}}
| |
| | zoom={{{zoom|16}}} | enablefullscreen=yes | resizable=yes
| |
| }}
| |
| | {{#if: {{{location|}}} <!-- else: if location? -->
| |
| | {{#display_map: {{{location}}} <!-- then: Karte ausgeben -->
| |
| ~ {{{popuptitle|{{{headline|{{PAGENAME}}}}}}}} ~ {{{popuptext|}}}
| |
| | width={{#ifeq:{{{box|ja}}}|nein|{{{width|50%}}}}}
| |
| | height={{#ifeq:{{{box|ja}}}|nein|{{{height|25%}}}}}
| |
| | zoom={{{zoom|16}}} | enablefullscreen=yes | resizable=yes
| |
| }}
| |
| | {{#if: {{{lat|}}}{{{lon|}}} <!-- else: if lat/lon? -->
| |
| | {{#display_map: {{{lat|0}}},{{{lon|0}}} <!-- then: Karte ausgeben -->
| |
| ~ {{{popuptitle|{{{headline|{{PAGENAME}}}}}}}} ~ {{{popuptext|}}}
| |
| | width={{#ifeq:{{{box|ja}}}|nein|{{{width|50%}}}}}
| |
| | height={{#ifeq:{{{box|ja}}}|nein|{{{height|25%}}}}}
| |
| | zoom={{{zoom|16}}} | enablefullscreen=yes | resizable=yes
| |
| }}
| |
| | {{Karte/KeineKarteMeldung <!-- else: Fehlermeldung -->
| |
| | geojson={{{geojson|{{PAGENAME}}}}}
| |
| | form={{{form|nein}}}
| |
| }}
| |
| }} <!-- end if lat/lon -->
| |
| }} <!-- end if location -->
| |
| }} <!-- end if GeoJson -->
| |
| | center
| |
| | right
| |
| }}<!-- Ende der Box
| |
| | |
| Attribute setzen
| |
| ================
| |
| -->{{#set:Zoomlevel={{{zoom|16}}} | GeocodingOrt={{{location|}}} }}<!--
| |
| -->{{#if: {{{location|}}} <!-- if location? -->
| |
| | {{#set: Geokoordinate={{#geocode:{{{location}}} }} }} <!-- then: location-Geokoordinate setzen -->
| |
| | {{#if: {{{lat|}}}{{{lon|}}}
| |
| | {{#set: Geokoordinate={{{lat}}}, {{{lon}}} }} <!-- else: lat/lon- Geokoordinate setzen -->
| |
| }}
| |
| }}<!--
| |
| | |
| -->[[Kategorie:Hat Karte]]<!--
| |
| --></includeonly>
| |