Module:BuildingLevels

local p = {} local tTools = require('Dev:TableTools') local num = require('Dev:Formatnum').formatNum local lg = mw.language.getContentLanguage:getCode local name = 'Academy' or frame:getParent:getTitle local bD = mw.loadData('Module:BuildingsData')[name] function p.table(frame) local from = tonumber(frame.args[1])>0 and tonumber(frame.args[1]) or 1 local to = tonumber(frame.args[2])>tonumber(bD['hardcap']) and tonumber(bD['hardcap']) or tonumber(frame.args[2]) local tsize = frame.args[3] local resources = {'Ξύλο','Κρασί','Μάρμαρο','Κρύσταλλο','Θείο'} local ricons = {'Wood','Wine','Marble','Crystal','Sulphur'} local racr = {'b','w','m','c','s'} local tr = '' local rtd = ' ' local tbl = ' ' return lg..tbl end return p