Module:Multi
Module documentation
This documentation is transcluded from Module:Multi/doc. [edit] [history] [purge]
This template should be used when there is no documentation for a Module or Template.
--<nowiki>
local p = {}
function p.multi(str, count)
return string.rep(str, count)
end
function p.main(frame)
local args = frame:getParent().args
local str = args[1]
local times = args[2] or 2
return p.multi(str, times)
end
return p
--</nowiki>