Difference between revisions of "Module:Infobox"

Jump to navigation Jump to search
256 bytes added ,  16:12, 26 October 2022
no edit summary
Line 124: Line 124:
result:node(v)
result:node(v)
end
end
end
if buildingData.prosperity then
local prospRows = {}
for k, v in pairs(buildingData.prosperity) do
table.insert(prospRows, infoboxData(v, k))
end
local prospSet = infoboxGroup(prospRows, 2, 'Prosperity')
result:node(prospSet)
end
end

Navigation menu