local p =
-- Function to generate spinning line HTML/CSSfunction p.generateSpinningLine(frame) local frequency = tonumber(frame.args[1]) or 0.25 -- Default frequency if not provided local angle = 360 * frequency local html = mw.html.create('div') :addClass('spinning-line') :css('transform', 'rotate(' .. angle .. 'deg);') :done return tostring(html)end
return p