Module:RoundN: Difference between revisions

Content deleted Content added
simplify nodeFunc and setting a new speed record for this module
m summed score boxes now default to 10px smaller than the sumbox
Line 388:
p.short_brackets and 4 or 20
}
if p.scoreSumBox then
local smallerWidth = sp[2] - 10
setmetatable(scoreWidth, {__index = function(_, i) return i < p.scoreBoxes and smallerWidth or nil end})
end
if p.template then
p.template = mw.title.new(args.name)