17.667
Bearbeitungen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 99: | Zeile 99: | ||
function queryGebaeudeArgs(args, subobject_pagename) -- Gebäude-Attribute von subobject abfragen | function queryGebaeudeArgs(args, subobject_pagename) -- Gebäude-Attribute von subobject abfragen | ||
mw.log("queryGebaeudeArgs(args, subobject_pagename)") | |||
mw.logObject(subobject_pagename, "subobject_pagename") | |||
args = {} | args = {} | ||
local query = "[[" .. subobject_pagename .. "]]" | local query = "[[" .. subobject_pagename .. "]]" | ||
| Zeile 134: | Zeile 136: | ||
getGeoArgs(args, val.GeoSubobject) | getGeoArgs(args, val.GeoSubobject) | ||
end | end | ||
mw.logObject(args, "args") | |||
end | end | ||
function getGeoArgs(args, geo_subobjects) -- wandelt die Geo-Subjekte wieder ein pargs zurück | function getGeoArgs(args, geo_subobjects) -- wandelt die Geo-Subjekte wieder ein pargs zurück | ||
mw.log("getGeoArgs(args, geo_subobjects)") | |||
mw.logObject(geo_subobjects, "geo_subobjects") | |||
if geo_subobjects ~= nil then | if geo_subobjects ~= nil then | ||
if type(geo_subobjects) ~= "table" then | if type(geo_subobjects) ~= "table" then | ||
| Zeile 174: | Zeile 179: | ||
end | end | ||
end | end | ||
mw.logObject(args, "args") | |||
end | end | ||
return p | return p | ||