Difference between revisions of "Module:OInfobox-Building"

Jump to navigation Jump to search
m
no edit summary
m
m
Line 243: Line 243:
             if resource == 'gold coins' then
             if resource == 'gold coins' then
                 local resourceIcon = i.icon('gold coins', nil, nil, 'gold coins', 'en')
                 local resourceIcon = i.icon('gold coins', nil, nil, 'gold coins', 'en')
                 table.insert(costData, {label = 'Build Cost', value = amount})
                 table.insert(costData, {label = '{{Item|resource=gold coins|text=No|link=Build Cost}} [[Gold Coins|Build Cost]]', value = amount})
                 goldCoinsFound = true
                 goldCoinsFound = true
             else
             else
Line 257: Line 257:


         if #costData > 0 then
         if #costData > 0 then
             addSection(infobox, costData, 'Economic Costs', 2)
             addSection(infobox, costData, 'Economic Impact', 2)
         end
         end
         end
         end
606

edits

Navigation menu