Content deleted Content added
Overhauled module structure; replaced 'single' flag with separate commands (functions), added separate 'reference(s)' command |
No edit summary |
||
Line 1,510:
end
function p._label(args
_ =
_.curState = State.new(_)
Line 1,624:
end
function p._title(args
_ =
_.pageTitle = true
return p._label(args, _)
Line 1,632:
-- main function that may be used by wrapper templates
function p.main(frame)
local f
frame = frame:getParent() or frame
Line 1,638:
assert(p[f], 'The function "' .. f .. '" does not exist')
frame.args = table.remove(frame.args, 1)▼
▲ frame.args = args
return p[f](frame)
|