Module:Utils: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 9: Line 9:
end
end


-- Direct access to the "yesno" function
-- Wrapper function for template access to [[Module:Yesno]]
function p.yesno(frame)
function p._yesno(frame)
return yesno(frame.args["input"])
return yesno(frame.args["input"], frame.args["default"])
end
end