Difference between revisions of "Module:Infobox"

Jump to navigation Jump to search
23 bytes added ,  16:34, 13 August 2022
no edit summary
Line 175: Line 175:
--Construction group
--Construction group
if buildingData.construction then
local construction = buildingData.construction
if construction then
local conList = {}
local conList = {}
for k, v in pairs(buildingData.construction) do
for k, v in pairs(construction) do
local conLabel = i.icon(k, nil, nil, string.gsub(k,  
local conLabel = i.icon(k, nil, nil, string.gsub(k,  
string.sub(k,1,1), string.upper(string.sub(k,1,1)), 1),
string.sub(k,1,1), string.upper(string.sub(k,1,1)), 1),

Navigation menu