Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 17:26, 28 September 2024 by TheKillerBunny (talk | contribs) (Created page with "function hatnoteDistinguish(frame) local args = frame.args local final = {} for k, v in ipairs(args) do if k == #args then table.insert(final, "or") end table.insert(final, "" .. v .. "") end -- stuff return table.concat(final, ", ") end return {["hatnote"] = hatnoteDistinguish}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

function hatnoteDistinguish(frame)
	local args = frame.args
	local final = {}
	
	for k, v in ipairs(args) do
		if k == #args then
			table.insert(final, "or")
		end
		table.insert(final, "[[" .. v .. "]]")
	end
	-- stuff
	return table.concat(final, ", ")
end

return {["hatnote"] = hatnoteDistinguish}