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

keine Bearbeitungszusammenfassung
(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…“)
 
Keine Bearbeitungszusammenfassung
(5 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 3: Zeile 3:
Karte konfigurieren
Karte konfigurieren
===================
===================
--> {{ {{#ifeq:{{{box|ja}}}|nein|Karte/NoBoxDummy|Box}}                              <!-- Box
-->   {{#ifexist: {{{geojson_fullpagename|}}}                  <!-- if GeoJson-Karte existiert?
--> | {{{headline | {{ifc | {{{geojson|}}} | {{PAGENAME}} }} }}}                    <!--
-->  | {{#display_map: geojson={{{geojson_pagename|}}}            <!-- then: Karte ausgeben
--> | {{#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%}}}}}                          <!--
-->    | 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 20: Zeile 18:
-->      | 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 31: Zeile 29:
-->        | 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 38: Zeile 36:
-->        }}                                                                      <!--
-->        }}                                                                      <!--
-->      | <!--{{Karte/KeineKarteMeldung                                                <!--            else: Fehlermeldung
-->      | <!--{{Karte/KeineKarteMeldung                                                <!--            else: Fehlermeldung
-->        <!--| geojson={{ifc | {{{geojson|}}} | {{PAGENAME}} }}                      <!--
-->        <!--| geojson={{{geojson_pagename|}}}                      <!--
-->        <!--| form={{{form|nein}}}                                                  <!--
-->        <!--| form={{{form|nein}}}                                                  <!--
-->        <!--}}                                                                      <!--
-->        <!--}}                                                                      <!--
Zeile 45: Zeile 43:
-->    }}                                                                          <!--      end if location
-->    }}                                                                          <!--      end if location
-->  }}                                                                            <!-- end if GeoJson
-->  }}                                                                            <!-- end if GeoJson
--> | center                                                                        <!--
--> | right                                                                          <!--
--> }}                                                                              <!-- Ende der Box


Attribute setzen
Attribute setzen
Zeile 68: Zeile 63:
-->    }}                                                                                                        <!--
-->    }}                                                                                                        <!--
-->  }}                                                                                                          <!--
-->  }}                                                                                                          <!--
     
-->  {{#ifexist: GeoJson:{{ifc | {{{geojson|}}} | {{PAGENAME}} }}          <!--
-->  | {{#set: GeoJson=GeoJson:{{ifc | {{{geojson|}}} | {{PAGENAME}} }} }} <!--
-->  }}                                                                    <!--
     
-->  {{#set: Zoomlevel={{ifc | {{{zoom|}}} | 16}} }} <!--
--> }} <!--
--> }} <!--
--> [[Kategorie:Hat Karte]] <!--


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