Module:CargoTest

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

local p = {}

function p.main(frame) args = getArgs(frame, {wrappers = 'Template:CargoTest'}) local returnstring = '' for i=1,args.loops do   frame:expandTemplate{title="Template:CargoTest/TestTable"..args.table, args = {val= i*args.table}} returnstring = returnstring .. i*args.table .. ', ' end return returnstring end

return p