Module:Navbox

local p = {}

function p.list (frame) local c1, collapse c1 = frame.args["color"] -- background color collapse = frame.args["expand"] if collapse ~= nil or "collapse" or "collapsible" or "collapsed" then collapse = "collapsed" else collapse = "expanded" end local title = frame.args[1] local items = frame.args[2] if items ~= nil then items = mw.text.split(items, "\n") else items = {} end local result = {} table.insert(result, ' '.. title ..'   ') return table.concat(result, '') end

return p