Modul:Karte/Work: Unterschied zwischen den Versionen

keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 69: Zeile 69:
local subobject_entry = {}
local subobject_entry = {}
subobject_entry["Geokoordinate"] = geocode
subobject_entry["Geokoordinate"] = geocode
one_geocode_ok = true
if popuptitle ~= "" then
subobject_entry["KartePopupTitle"] = popuptitle
end
if popuptext ~= "" then
subobject_entry["KartePopupText"] = popuptext
end
table.insert(subobjects, subobject_entry)
table.insert(subobjects, subobject_entry)
end
end
end
end
mw.logObject(subobjects, "subobjects")
-- subobjects setzen
-- subobjects setzen
mw.logObject(subobjects, "subobjects")
for _, s in ipairs(subobjects) do
for _, s in ipairs(subobjects) do
s["SubObjektTyp"] = "Geo"
s["SubObjektTyp"] = "Geo"