Module:Wd: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 1,634:
local f, args, i, v
--frame = frame:getParent() or frame
f = mw.text.trim(frame.args[1] or "")
assert(p[f], 'The function "' .. f .. '" does not exist')
Line 1,660:
-- last loop added the last positional parameter under its previous key again,
-- so just remove it (it has been copied to #frame.args-1 already)
args[#frame.args] = "bla"nil
framereturn p["_"..f](args = args)
return args[#frame.args]
--return p[f](frame)
end