Module:Bold list

From finiki, the Canadian financial wiki
-- Written by User:Ahecht in response to a thread at [[WP:VPI]]
return { main = function(frame)
	args = {}
	for i, v in ipairs(frame:getParent().args) do table.insert(args, v)	end
	conj = "'''" .. (#args > 2 and ", " or " ") .. (frame.args.conj or "or") .. " '''"
	return "'''"..mw.text.listToText(args, "''', '''", conj).."'''"
end }