Module:Yesno: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(better code for getting args)
(edit inaccurate comment)
Line 10: Line 10:
}
}


-- Allow arguments to override defaults. Arguments are taken from
-- Allow arguments to override defaults.
-- the parent frame; other arguments are ignored.
local args;
local args;
if frame == mw.getCurrentFrame() then
if frame == mw.getCurrentFrame() then