If your are doing one unit, it is attached. If you are doing the entire building, it is detached.
Detached.
I've never seen a duplex that is attached to another property that isn't a part of the lot the duplex is on.
I agree with Pittsburgh Pete, and almost feel dirty for saying so.