Module:Sandbox/Ahecht/min

< Module:Sandbox‎ | Ahecht
Revision as of 04:48, 23 April 2022 by imported>Ahecht (test)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Documentation for this module may be created at Module:Sandbox/Ahecht/min/doc

return { main = function(frame)
	args = {}
	for i, v in ipairs(frame.args) do table.insert(args, v)	end
	conj = "'''" .. (#args > 2 and ", " or " ") .. (args.conj or "or") .. " '''"
	return "'''"..mw.text.listToText(args, "''', '''", conj).."'''"
end }