Module:Sandbox/Emptylord/NumberSequences

local p = {} local lib  = require('Module:Feature')

function p.getSeries(frame) local args; if frame.args == nil then args = lib.arguments(frame) else args = lib.arguments(frame.args) end local series       = {} local userinput    = args[1] local userseries   = {} local key = args["key"] or "" local output = "" for i in string.gmatch(userinput, '([^,]+)') do       table.insert(userseries, i)    end for i in pairs(userseries) do       output = output .. " / " .. i   end return output end

return p -- --