Vorlage:Karte/Legacy: Unterschied zwischen den Versionen
Aus FürthWiki
(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}} }}<!…“) |
(Verschiebung GeoJson-Karte zu Modul:Karte) |
||
| (6 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 3: | Zeile 3: | ||
Karte konfigurieren | Karte konfigurieren | ||
=================== | =================== | ||
--> | --> {{#if: {{{location_|}}}{{{locationlist_|}}}{{{geocode|}}} <!-- else: if location, locationlist oder geocode? | ||
--> | {{#display_map: <!-- then: Karte ausgeben | |||
--> {{#if: {{{location_|}}}{{{geocode|}}} <!-- | |||
--> | {{{geocode|{{{location_|}}}}}} <!-- | |||
--> ~ {{{popuptitle|{{{headline|{{PAGENAME}}}}}}}} ~ {{{popuptext|}}}; <!-- | |||
--> }} <!-- | |||
--> {{{locationlist_|}}} <!-- | |||
--> | width={{{width|}}} | height={{{height|}}} | zoom={{{zoom|}}} | enablefullscreen=yes | resizable=yes <!-- | |||
--> }} <!-- | |||
-->| {{#display_map:<!-- then: Karte ausgeben | --> {{#if: {{{geojson|}}} <!-- if geojson übergeben? | ||
-->{{#if: {{{location_|}}}{{{geocode|}}}<!-- | --> | <small>Karte [{{canonicalurl:GeoJson:{{{geojson|}}}}} {{{geojson|}}}] <!-- then: Edit-Link | ||
-->| {{{geocode|{{{location_|}}}}}}<!-- | --> nicht gefunden</small> <!-- | ||
-->~ {{{popuptitle|{{{headline|{{PAGENAME}}}}}}}} ~ {{{popuptext|}}};<!-- | --> }} <!-- | ||
-->}}<!-- | --> | {{#if: {{#if: {{{lat|}}} | {{{lon|}}} }} <!-- else: if lat/lon? | ||
-->{{{locationlist_|}}}<!-- | --> | {{#display_map: {{{lat|}}}, {{{lon|}}} <!-- then: Karte ausgeben | ||
-->| width= | --> ~ {{{popuptitle|{{{headline|{{PAGENAME}}}}}}}} ~ {{{popuptext|}}} <!-- | ||
--> | width={{{width|}}} | height={{{height|}}} | zoom={{{zoom|}}} | 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 | ||
-->| {{#if: {{#if: {{{lat|}}} | {{{lon|}}} }}<!-- else: if lat/lon? | --> <!--| geojson={{{geojson_pagename|}}} <!-- | ||
-->| {{#display_map: {{{lat|}}}, {{{lon|}}}<!-- then: Karte ausgeben | --> <!--| form={{{form|nein}}} <!-- | ||
-->~ {{{popuptitle|{{{headline|{{PAGENAME}}}}}}}} ~ {{{popuptext|}}}<!-- | --> <!--}} <!-- | ||
-->| width= | --> [[Kategorie:Ohne Position]]<br>Karte temporär außer Betrieb<br> <!-- | ||
--> }} <!-- end if lat/lon | |||
--> }} <!-- end if location | |||
-->}}<!-- | |||
-->{{#if: {{{geojson|}}}<!-- if geojson übergeben? | |||
-->| <small>Karte [{{canonicalurl:GeoJson:{{{geojson|}}}}} {{{geojson|}}}]<!-- then: Edit-Link | |||
-->nicht gefunden</small><!-- | |||
-->}}<!-- | |||
-->|<!--{{Karte/KeineKarteMeldung<!-- else: Fehlermeldung | |||
--><!--| geojson= | |||
--><!--| form={{{form|nein}}}<!-- | |||
--><!--}}<!-- | |||
-->[[Kategorie:Ohne Position]]<br>Karte temporär außer Betrieb<br> <!-- | |||
-->}}<!-- end if lat/lon | |||
-->}}<!-- end if location | |||
--></includeonly> | --></includeonly> | ||