모듈:Iloop
보이기
	
	
| 위 설명은 모듈:Iloop/설명문서의 내용을 가져와 보여주고 있습니다. (편집 | 역사) 이 모듈에 대한 수정 연습과 시험은 연습장 (만들기 | 미러)과 시험장 (만들기)에서 할 수 있습니다. 분류는 /설명문서에 넣어주세요. 이 모듈에 딸린 문서.  | 
return {
	loop = function(frame)
		local text = ''
		local finish = tonumber(frame.args[2])
		local times = tonumber(frame.args[3]) or 1
		local from = tonumber(frame.args[4]) or 1
		local var = frame.args.index or 'index'
		local func = require('모듈:TemplateFunction').create(frame.args[1])
		
		for index = from, finish, times do
			text = text .. func:parse{[var] = index}
		end
		
		return text
	end
}