Module:Progression rainbow: Difference between revisions

Content deleted Content added
remove frame from category_count
tidying
Line 36:
local args = getArgs(frame)
return p._main(args, frame)
-- pretty sure that this call to extensionTag should be in _main
-- since a caller from a module should get the associated styles also
end
 
function p._main(args, frame)
-- isIs there a way that I canto avoid passing a reference to the parent frame?
-- IextensionTag need tomust be able to access extensionTagavailable in p._main, which on the frame object.
-- these are defined on frame
 
local classes = {
Line 131 ⟶ 128:
:newline()
end
-- notNot sure if Ip._main should be stringifying p._main returnstringified instead of returning an object.
-- a table
return frame:extensionTag{
name = 'templatestyles',