Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Bold list

Revision as of 05:09, 30 June 2024 by Iscah (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Documentation for this module may be created at Module:Bold list/doc

-- 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 }