Jump to content

Module:List

From Consumer_Action_Taskforce
Revision as of 05:34, 30 January 2025 by Louis (talk | contribs) (Created page with "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")

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