-- Repeats a string a certain number of times
-- [[Template:Multi]]
local p = {}
function p.rep(frame)
	local args = frame:getParent().args
	local inp = args[1]
	local count = tonumber(args[2])
	if not count then
		 return error('You must pass a number to the second argument')
	-- We very rarely use any of these templates; no need to facilitate a ton of potential spam; 500 is a fine maximum
	count = math.floor(count)
	if count > 500 then
		count = 500
	return string.rep(inp, count)
return p

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.