Module:Confuse

-- local p = {}

function p.main(frame) local args = frame:getParent.args local ret = mw.html.create('div') :addClass('seealso') local ttl = #args for i, v in ipairs(args) do       if i 1 then ret:wikitext(..v..) elseif i == ttl then if ttl == 1 then ret:wikitext(..v..) else ret:wikitext(' or '..v..'') end end if i 2 then ret:wikitext(', ') end end ret:wikitext('.') return ret end

return p