Eq
Created page with "-- <pre> local p = {} local hasc = require('Module:Paramtest').has_content function formatAmount(_x) local x = tonumber(_x) or 1 if x < 100000 then return x, 'qty-1' elseif x < 10000000 then return tostring(math.floor(x/1000))..'K', 'qty-100k' else return tostring(math.floor(x/1000000))..'M', 'qty-10m' end end function p.main(frame) local bgType = frame.args.bgType if bgType == nil then bgType = "inventory"..."