Module:Yesno: Difference between revisions

    m>Mr. Stradivarius
    (better code for getting args)
    m>Mr. Stradivarius
    (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