Modul:Gebäude: Unterschied zwischen den Versionen

Aus FürthWiki

+ to do
(doppeltes fab.common(fbdata) entfernt)
(+ to do)
Zeile 133: Zeile 133:
local pargs = com.shallowcopy(fbdata.pargs) -- to do: in Lua überführen
local pargs = com.shallowcopy(fbdata.pargs) -- to do: in Lua überführen
pargs["PLZ"] = fbdata.plz -- derzeit noch etwas verkrampft
pargs["PLZ"] = fbdata.plz -- derzeit noch etwas verkrampft
local locationlist_template = "Gebäude/Karte/Locationlist"
local locationlist_template = "Gebäude/Karte/Locationlist" -- to do: mehrfache geoobjects an der selben Geokoordinate ausfiltern
if com.isTrue(fbdata.pargs["Work"]) and wik.pageExists(locationlist_template .. "/Work") then
if com.isTrue(fbdata.pargs["Work"]) and wik.pageExists(locationlist_template .. "/Work") then -- siehe z.B. Rathaus <=> Königstr. 88
locationlist_template = locationlist_template .. "/Work"
locationlist_template = locationlist_template .. "/Work"
end
end