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

Aus FürthWiki
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 43: Zeile 43:
-->    }}                                                                          <!--      end if location
-->    }}                                                                          <!--      end if location
-->  }}                                                                            <!-- end if GeoJson
-->  }}                                                                            <!-- end if GeoJson
Attribute setzen
================
--> {{ifl | {{{noattr|}}}                                                                                        <!--
--> |                                                                                                            <!--
--> | {{#if: {{{location_|}}}{{{locationlist_|}}}                                                                  <!--
-->  | {{#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
-->                  | ;                                                                                          <!--
-->                  }}                                                                                          <!--
-->    | ; | _l_                                                                                                <!--
-->    | {{#set: Geokoordinate={{#geocode: _l_ }}                                                                <!--
-->      |      Geolokation=_l_                                                                                <!--
-->      }}                                                                                                      <!--
-->    |                                                                                                        <!--
-->    }}                                                                                                        <!--
-->  | {{#if: {{#if: {{{lat|}}} | {{{lon|}}} }}                                                                  <!--
-->    | {{#set: Geokoordinate={{{lat|}}}, {{{lon|}}} }}                                                        <!--
-->    }}                                                                                                        <!--
-->  }}                                                                                                          <!--
--> }} <!--


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

Version vom 12. Dezember 2025, 08:07 Uhr