Module documentation
This documentation is transcluded from Template:No documentation/doc. [edit] [history] [purge]
This module does not have any documentation. Please consider adding documentation at Module:Multi/doc. [edit]
Module:Multi's function main is invoked by Template:Multi.

--<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>