From Brighter Shores Wiki
Jump to navigation Jump to search
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.

local p = {}

function p.multi(str, count)
	return string.rep(str, count)

function p.main(frame)
	local args = frame:getParent().args
	local str = args[1]
	local times = args[2] or 2
	return p.multi(str, times)

return p