Module:Arguments: திருத்தங்களுக்கு இடையிலான வேறுபாடு

உள்ளடக்கம் நீக்கப்பட்டது உள்ளடக்கம் சேர்க்கப்பட்டது
add a "wrappers" option and fix bug when frame:getParent() returns nil, per protected edit request by Jackmcbarn
allow using both the frame and parent frame arguments with the wrappers option if specifically requested, per protected edit request by Jackmcbarn
வரிசை 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
வரி 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
"https://tamilar.wiki/w/Module:Arguments" இலிருந்து மீள்விக்கப்பட்டது