Module:Sandbox/Frietjes: Difference between revisions

Content deleted Content added
No edit summary
test
Line 6:
-- This function implements {{rnd}}
return math_module._precision_format(tostring(num), digits)
end
 
function p.ifexists(frame)
page = frame.args[1]
if not page then return (frame.args['no'] or '') end
if mw.title.new(page).exists then return (frame.args['yes'] or 'yes') end
return (frame.args['no'] or '')
end