If he were you,he would put the shirt on.
这是第二条件状语从句,因为“他是你”这是与现在的现实相反的,因此用第二条件状语从句,其结构为主过从过,即主句用一般过去时,从句也用一般过去时.