Triplex (American English), Three-flat (British English) - a building similar to a duplex except there are three stories.
In real estate and housing terminology, a triplex refers to a multi-family dwelling with three floors or stories.