Partial entropy in finite-temperature phase transitions