Vorlage:Karte: Unterschied zwischen den Versionen

fix Semikolon-Problem bei Karten
(Kategorie:Hat Semikolon)
Markierung: Zurückgesetzt
(fix Semikolon-Problem bei Karten)
Markierung: Zurückgesetzt
Zeile 1: Zeile 1:
<noinclude>{{Doku}}</noinclude><includeonly><!--
<noinclude>{{Doku}}</noinclude><includeonly>{{#invoke:Debug|print_template_args}}<!--


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|}}} | {{SafePageName}} }} }}}                 <!--
--> | {{#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
Zeile 13: Zeile 13:
-->  | {{#if: {{{location|}}}{{{locationlist|}}}                                    <!-- else: if location?
-->  | {{#if: {{{location|}}}{{{locationlist|}}}                                    <!-- else: if location?
-->    | {{#display_map: {{{location|}}}                                            <!--      then: Karte ausgeben
-->    | {{#display_map: {{{location|}}}                                            <!--      then: Karte ausgeben
-->      ~ {{{popuptitle|{{{headline|{{PAGENAME}}}}}}}} ~ {{{popuptext|}}};         <!--
-->      ~ {{{popuptitle|{{{headline|{{SafePageName}}}}}}}} ~ {{{popuptext|}}};     <!--
-->      {{{locationlist|}}}                                                        <!--
-->      {{{locationlist|}}}                                                        <!--
-->      | width={{#ifeq:{{{box|ja}}}|nein|{{{width|50%}}}}}                        <!--
-->      | width={{#ifeq:{{{box|ja}}}|nein|{{{width|50%}}}}}                        <!--
Zeile 25: Zeile 25:
-->    | {{#if: {{{lat|}}}{{{lon|}}}                                                <!--      else: if lat/lon?
-->    | {{#if: {{{lat|}}}{{{lon|}}}                                                <!--      else: if lat/lon?
-->      | {{#display_map: {{ifc | {{{lat|}}} | 0}}, {{ifc | {{{lon|}}} | 0}}      <!--            then: Karte ausgeben
-->      | {{#display_map: {{ifc | {{{lat|}}} | 0}}, {{ifc | {{{lon|}}} | 0}}      <!--            then: Karte ausgeben
-->        ~ {{{popuptitle|{{{headline|{{PAGENAME}}}}}}}} ~ {{{popuptext|}}}       <!--
-->        ~ {{{popuptitle|{{{headline|{{SafePageName}}}}}}}} ~ {{{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%}}}}}                    <!--