Documentation for this module may be created at Module:AeroWikiListTools/doc
local p = {} p.split_list = function (input_string, template) local new_string = '' for split in string.gmatch(input_string, '([^, ]+)') do new_string = new_string .. template:gsub('{split}', split) .. ', ' end return new_string:sub(1, -3) end return p