Module:EliteChallenges

-- -- This is a helper module to display a list of completed Collection Challenges for the Elite Collector medal. local p = {} local getArgs = require('Dev:Arguments').getArgs

function p.main(frame) local args = getArgs(frame) local output = '{| class="elitechallenges"\n' for i, item in ipairs(args) do   	if i % 2 == 1 then output = output .. '| ' .. item else output = output .. ' || ' .. item .. '\n|-\n' end end output = output .. '|}'   return output end

return p --