Module:ModuleLevelTable

From The First Descendant Wiki
Revision as of 01:01, 4 June 2024 by Software2 (talk | contribs)

Documentation for this module may be created at Module:ModuleLevelTable/doc

local p = {}

function p.process(frame)
    local csvText = frame.args[1] or ""
    local result = ""
    
    -- Example: Simple processing to convert CSV to a bulleted list
    for line in csvText:gmatch("[^\r\n]+") do
        result = result .. "* " .. line .. "\n"
    end
    
    return result
end

return p