Jump to content

Module:List: Difference between revisions

From Consumer_Action_Taskforce
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"
m 1 revision imported: Importing CS1
 
(No difference)

Latest revision as of 10:11, 1 February 2025

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