Module:Progression rainbow/sandbox: Difference between revisions

Content deleted Content added
add title attribute for tooltips
use require('strict') instead of require('Module:No globals')
 
(One intermediate revision by one other user not shown)
Line 3:
 
]]
require('Module:No globalsstrict')
 
local p = {}
Line 96:
total = tonumber(args[9]) or 100
end
local height = arg_or_default(args, 'height', nil)
local root = mw.html.create('ul')
root:addClass('progression-rainbow')
if height then
root:css('height', height)
end
 
local current_frame = mw.getCurrentFrame()