Module:IterativeInventorySlot

local getArgs = require('Module:Arguments').getArgs

local p = {}

function p.main(frame) local args = getArgs(frame) return p.main(args) end

function unwrapIterationList(args) for i=1,strlen(args) do		unwrap[i] = strsub(args,strfind(args,',',j),strfind(args,',',j + 1)) j = strfind(args,',',j + 1) if strfind(args,',') == nil then break end end return unwrap end

function p.writeSlot(args) iterations = args[1] item = args[2] link = args[3] title = args[4] iterationList = {unwrap} textOne = args[6] textTwo = args[7] for ii=1,iterations do		text = text..' ' end return text end

return p.writeSlot(args)