Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Arguments: Difference between revisions

Content added Content deleted
(mirror latest changes on WP)
(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
if found then
-- We test for false specifically here so that nil (the default) acts like true.
if found or options.parentFirstframeOnly == false then
pargs = parent.args
elseend
if not found or options.parentOnly == false then
fargs = frame.args
end
Line 107 ⟶ 110:
pargs = parent and parent.args or nil
end
end
if options.parentFirst then
if options.parentFirst then
fargs, pargs = pargs, fargs
end
end
else
Cookies help us deliver our services. By using our services, you agree to our use of cookies.