Vorlage:Karte: Unterschied zwischen den Versionen

Aus FürthWiki

location/locationlist temporär deaktiviert
(+ geocode anstelle location)
(location/locationlist temporär deaktiviert)
Zeile 11: Zeile 11:
-->    | zoom={{ifc | {{{zoom|}}} | 16}} | enablefullscreen=yes | resizable=yes    <!--
-->    | zoom={{ifc | {{{zoom|}}} | 16}} | enablefullscreen=yes | resizable=yes    <!--
-->    }}                                                                          <!--
-->    }}                                                                          <!--
-->  | {{#if: {{{location|}}}{{{locationlist|}}}{{{geocode|}}}                      <!-- else: if location, locationlist oder geocode?
-->  | {{#if: {{{location_|}}}{{{locationlist_|}}}{{{geocode|}}}                      <!-- else: if location, locationlist oder geocode?
-->    | {{#display_map:                                                            <!--      then: Karte ausgeben
-->    | {{#display_map:                                                            <!--      then: Karte ausgeben
-->        {{#if: {{{location|}}}{{{geocode|}}}                                    <!--
-->        {{#if: {{{location_|}}}{{{geocode|}}}                                    <!--
-->        | {{{geocode|{{{location|}}}}}}                                          <!--
-->        | {{{geocode|{{{location_|}}}}}}                                          <!--
-->          ~ {{{popuptitle|{{{headline|{{PAGENAME}}}}}}}} ~ {{{popuptext|}}};    <!--
-->          ~ {{{popuptitle|{{{headline|{{PAGENAME}}}}}}}} ~ {{{popuptext|}}};    <!--
-->        }}                                                                      <!--
-->        }}                                                                      <!--
-->        {{{locationlist|}}}                                                      <!--
-->        {{{locationlist_|}}}                                                      <!--
-->      | 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%}}}}}                      <!--
Zeile 53: Zeile 53:
--> {{ifl | {{{noattr|}}}                                                                                        <!--
--> {{ifl | {{{noattr|}}}                                                                                        <!--
--> |                                                                                                            <!--
--> |                                                                                                            <!--
--> | {{#if: {{{location|}}}{{{locationlist|}}}                                                                  <!--
--> | {{#if: {{{location_|}}}{{{locationlist_|}}}                                                                  <!--
-->  | {{#arraymap: {{#arraymap: {{#replace: {{{location|}}};{{{locationlist|}}} | ~ | ;~ }} | ; | _l_          <!-- alles ab ~ abschneiden. Dabei in künstliche Liste umwandeln
-->  | {{#arraymap: {{#arraymap: {{#replace: {{{location_|}}};{{{locationlist_|}}} | ~ | ;~ }} | ; | _l_          <!-- alles ab ~ abschneiden. Dabei in künstliche Liste umwandeln
-->                  | {{#ifexpr: {{#count: _l_ | ~ }} = 0 | _l_ }}                                              <!-- wenn Element mit ~, dann verwerfen
-->                  | {{#ifexpr: {{#count: _l_ | ~ }} = 0 | _l_ }}                                              <!-- wenn Element mit ~, dann verwerfen
-->                  | ;                                                                                          <!--
-->                  | ;                                                                                          <!--