- Not to be confused with
- Not to be confused with
- Not to be confused with
- Not to be confused 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
return frame:expandTemplate{title = "Hatnote", args = {"Not to be confused with " .. table.concat(final, ", ")}}
end
return {["hatnote"] = hatnoteDistinguish}