1,124
edits
Line 145: | Line 145: | ||
if requirementData then | if requirementData then | ||
for k, v in ipairs(requirementData) do | for k, v in ipairs(requirementData) do | ||
requirements = requirements .. i.icon(v, nil, nil | requirements = requirements .. i.icon(v, nil, nil, | ||
com.firstUpper({v}), 'en') | |||
if k ~= #requirementData then | if k ~= #requirementData then | ||
requirements = requirements .. '<br />' | requirements = requirements .. '<br />' | ||
Line 162: | Line 161: | ||
if productData then | if productData then | ||
for k, v in ipairs(productData) do | for k, v in ipairs(productData) do | ||
products = products .. i.icon(v, nil, nil, | products = products .. i.icon(v, nil, nil, com.firstUpper({v}), | ||
'en') | 'en') | ||
if k ~= #productData then | if k ~= #productData then | ||
Line 192: | Line 190: | ||
local conList = {} | local conList = {} | ||
for k, v in pairs(construction) do | for k, v in pairs(construction) do | ||
local conLabel = i.icon(k, nil, nil, | local conLabel = i.icon(k, nil, nil, com.firstUpper({k}), | ||
'en') | 'en') | ||
table.insert(conList, infoboxData(v, conLabel)) | table.insert(conList, infoboxData(v, conLabel)) |