Module:File title list

list = require('Module:List')

local p = {}

function p.main local list_type = mw.getCurrentFrame.args['type'] or 'bulleted' local list_items = {} for _, item in ipairs(mw.getCurrentFrame:getParent.args) do		table.insert(			list_items,			 .. mw.getCurrentFrame:expandTemplate{				title = 'file title',				args = {item}			} .. 		) end return list[list_type](list_items) end

return p