Jump to content

Module:List

From Consumer_Action_Taskforce
Revision as of 10:11, 1 February 2025 by Kostas (talk | contribs) (1 revision imported: Importing CS1)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

local p = {}

function p.bulletList(frame)
    local items = frame.args
    local output = '\n'
    
    for i, item in pairs(items) do
        output = output .. '* ' .. item .. '\n'
    end
    
    return output
end

return p