"ماڈیول:Yesno" کے نسخوں کے درمیان فرق
simplify/optimise |
use frame.args for testing |
||
سطر 12: | سطر 12: | ||
-- Allow arguments to override defaults. Arguments are taken from | -- Allow arguments to override defaults. Arguments are taken from | ||
-- the parent frame; other arguments are ignored. | -- the parent frame; other arguments are ignored. | ||
for k,v in pairs(frame | for k,v in pairs(frame.args) do | ||
retvals[k] = v | retvals[k] = v | ||
end | end |