Module:Multi: Difference between revisions

From Illerai
Jump to navigation Jump to search
illerai>Talulah
m today is not that day
 
m 1 revision imported
 
(No difference)

Latest revision as of 22:24, 2 November 2024

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>