Alex
Created page with "local p = {} local commas = require('Module:Addcommas')._add function expr(x) x = tostring(x) local expr_good, expr_val = pcall(mw.ext.ParserFunctions.expr, x) if expr_good then return tonumber(expr_val) end return nil end function p.main(frame) local input = frame:getParent().args local shopIncPercent = (input.shop_inc ~= nil and input.shop_inc ~= '') and tonumber(input.shop_inc) * .01 or 0 local calcTotal = p.calc(input.base_price, shopIncPercent, input.nu..."