Difference between revisions of "Module:OInfobox-Building"

Jump to navigation Jump to search
m
no edit summary
(Created page with "-- adapted from Levrin's iteration to Sakaratte's original -- local com = require('Module:Common') local a = require('Module:Arguments') local i = require('Module:Icon') local p = {} local function createInfobox(title) local box = mw.html.create('div') box:addClass('infobox') :tag('div') :addClass('infobox-title') :wikitext(com.modulePagename(title)) :done() return box end local function addImage(box, image, caption, defaultI...")
 
m
Line 132: Line 132:
                 workers = workers .. ' ' .. buildingData.rank
                 workers = workers .. ' ' .. buildingData.rank
             end
             end
             table.insert(productionData, {label = 'Workers', value = workers})
             table.insert(productionData, com.firstUpper{label = 'Workers', value = workers})
         end
         end
          
          
606

edits

Navigation menu