Difference between revisions of "Module:OInfobox-Building"

Jump to navigation Jump to search
m
no edit summary
m
m
Line 243: Line 243:
                 local resourceIcon = i.icon(resource, nil, nil, labelText, 'en')
                 local resourceIcon = i.icon(resource, nil, nil, labelText, 'en')
                 table.insert(costData, {label = resourceIcon, value = amount})
                 table.insert(costData, {label = resourceIcon, value = amount})
                local labelText = com.firstUpper({resource})
                 if label == 'gold coins' then
                 if labelText == 'gold coins' then
                     label = com.firstUpper({'build cost'})
                     label = com.firstUpper({'build cost'})
                 end
                 end
606

edits

Navigation menu