Vorlage:Karte/Legacy/Work: Unterschied zwischen den Versionen

Aus FürthWiki
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 3: Zeile 3:
Karte konfigurieren
Karte konfigurieren
===================
===================
-->   {{#ifexist: GeoJson:{{ifc | {{{geojson|}}} | {{PAGENAME}} }}                  <!-- if GeoJson-Karte existiert?
--> {{ {{#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}} }}            <!-- 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={{{zoom|}}} | enablefullscreen=yes | resizable=yes    <!--
-->    }}                                                                          <!--
-->    }}                                                                          <!--
-->  | {{#if: {{{location_|}}}{{{locationlist_|}}}{{{geocode|}}}                      <!-- else: if location, locationlist oder geocode?
-->  | {{#if: {{{location_|}}}{{{locationlist_|}}}{{{geocode|}}}                      <!-- else: if location, locationlist oder geocode?
Zeile 18: Zeile 20:
-->      | 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={{{zoom|}}} | enablefullscreen=yes | resizable=yes  <!--
-->      }}                                                                        <!--
-->      }}                                                                        <!--
-->      {{#if: {{{geojson|}}}                                                      <!--            if geojson übergeben?
-->      {{#if: {{{geojson|}}}                                                      <!--            if geojson übergeben?
Zeile 29: Zeile 31:
-->        | 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={{{zoom|}}} | enablefullscreen=yes | resizable=yes <!--
-->        }}                                                                      <!--
-->        }}                                                                      <!--
-->        {{#if: {{{geojson|}}}                                                    <!--            if geojson übergeben?
-->        {{#if: {{{geojson|}}}                                                    <!--            if geojson übergeben?
Zeile 43: Zeile 45:
-->    }}                                                                          <!--      end if location
-->    }}                                                                          <!--      end if location
-->  }}                                                                            <!-- end if GeoJson
-->  }}                                                                            <!-- end if GeoJson
--> | center                                                                        <!--
--> | right                                                                          <!--
--> }}                                                                              <!-- Ende der Box


Attribute setzen
Attribute setzen
Zeile 68: Zeile 73:
-->  }}                                                                    <!--
-->  }}                                                                    <!--
        
        
-->  {{#set: Zoomlevel={{ifc | {{{zoom|}}} | 16}} }} <!--
--> }} <!--
--> }} <!--


--></includeonly>
--></includeonly>

Version vom 11. Dezember 2025, 20:04 Uhr