Anonymous user
Module:Arguments: Difference between revisions
allow using both the frame and parent frame arguments with the wrappers option if specifically requested, per protected edit request by User:Jackmcbarn
(add a "wrappers" option and fix bug when frame:getParent() returns nil, per protected edit request by User:Jackmcbarn) |
(allow using both the frame and parent frame arguments with the wrappers option if specifically requested, per protected edit request by User:Jackmcbarn) |
||
Line 92:
found = true
end
-- We test for false specifically here so that nil (the default) acts like true.
pargs = parent.args
if not found or options.parentOnly == false then
fargs = frame.args
end
Line 107 ⟶ 110:
pargs = parent and parent.args or nil
end
▲ if options.parentFirst then
if options.parentFirst then
▲ end
end
else
|