|
|
| (25 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) |
| Zeile 1: |
Zeile 1: |
| <noinclude>{{Doku}}</noinclude><includeonly>{{#invoke:Debug|print_template_args}}<!-- | | <noinclude>{{Doku}}</noinclude><includeonly>{{#invoke:Karte{{ifl|{{{Work|}}}|/Work}}|Karte}}</includeonly> |
| | |
| Karte konfigurieren | |
| ===================
| |
| --> {{ {{#ifeq:{{{box|ja}}}|nein|Karte/NoBoxDummy|Box}} <!-- Box
| |
| --> | {{{headline | {{ifc | {{{geojson|}}} | {{SafePageName}} }} }}} <!--
| |
| --> | {{#ifexist: GeoJson:{{ifc | {{{geojson|}}} | {{PAGENAME}} }} <!-- if GeoJson-Karte existiert?
| |
| --> | {{#display_map: geojson={{ifc | {{{geojson|}}} | {{PAGENAME}} }} <!-- then: Karte ausgeben
| |
| --> | width={{#ifeq:{{{box|ja}}}|nein|{{{width|50%}}}}} <!--
| |
| --> | height={{#ifeq:{{{box|ja}}}|nein|{{{height|25%}}}}} <!--
| |
| --> | zoom={{ifc | {{{zoom|}}} | 16}} | enablefullscreen=yes | resizable=yes <!--
| |
| --> }} <!--
| |
| --> | {{#if: {{{location|}}}{{{locationlist|}}} <!-- else: if location?
| |
| --> | {{#display_map: {{{location|}}} <!-- then: Karte ausgeben
| |
| --> ~ {{{popuptitle|{{{headline|{{SafePageName}}}}}}}} ~ {{{popuptext|}}}; <!--
| |
| --> {{{locationlist|}}} <!--
| |
| --> | width={{#ifeq:{{{box|ja}}}|nein|{{{width|50%}}}}} <!--
| |
| --> | height={{#ifeq:{{{box|ja}}}|nein|{{{height|25%}}}}} <!--
| |
| --> | zoom={{ifc | {{{zoom|}}} | 16}} | enablefullscreen=yes | resizable=yes <!--
| |
| --> }} <!--
| |
| --> {{#if: {{{geojson|}}} <!-- if geojson übergeben?
| |
| --> | <small>Karte [{{canonicalurl:GeoJson:{{{geojson|}}}}} {{{geojson|}}}] <!-- then: Edit-Link
| |
| --> nicht gefunden</small> <!--
| |
| --> }} <!--
| |
| --> | {{#if: {{{lat|}}}{{{lon|}}} <!-- else: if lat/lon?
| |
| --> | {{#display_map: {{ifc | {{{lat|}}} | 0}}, {{ifc | {{{lon|}}} | 0}} <!-- then: Karte ausgeben
| |
| --> ~ {{{popuptitle|{{{headline|{{SafePageName}}}}}}}} ~ {{{popuptext|}}} <!--
| |
| --> | width={{#ifeq:{{{box|ja}}}|nein|{{{width|50%}}}}} <!--
| |
| --> | height={{#ifeq:{{{box|ja}}}|nein|{{{height|25%}}}}} <!--
| |
| --> | zoom={{ifc | {{{zoom|}}} | 16}} | enablefullscreen=yes | resizable=yes <!--
| |
| --> }} <!--
| |
| --> {{#if: {{{geojson|}}} <!-- if geojson übergeben?
| |
| --> | <small>Karte [{{canonicalurl:GeoJson:{{{geojson|}}}}} {{{geojson|}}}] <!-- then: Edit-Link
| |
| --> nicht gefunden</small> <!--
| |
| --> }} <!--
| |
| --> | {{Karte/KeineKarteMeldung <!-- else: Fehlermeldung
| |
| --> | geojson={{ifc | {{{geojson|}}} | {{PAGENAME}} }} <!--
| |
| --> | form={{{form|nein}}} <!--
| |
| --> }} <!--
| |
| --> [[Kategorie:Ohne Position]] <!--
| |
| --> }} <!-- end if lat/lon
| |
| --> }} <!-- end if location
| |
| --> }} <!-- end if GeoJson
| |
| --> | center <!--
| |
| --> | right <!--
| |
| --> }} <!-- Ende der Box
| |
| | |
| Attribute setzen
| |
| ================
| |
| --> {{ifl | {{{noattr|}}} <!--
| |
| --> | <!--
| |
| | |
| --> | {{#if: {{{location|}}} <!--
| |
| --> | {{#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}} }} <!--
| |
| | |
| --> }} <!--
| |
| | |
| --> [[Kategorie:Hat Karte]] <!--
| |
| --> {{#ifexpr: {{#count:{{FULLPAGENAME}}|;}} > 0 | [[Kategorie:Hat Semikolon]] }} <!--
| |
| --></includeonly>
| |