Head gasket, I'd put money on it.
The water gets steamed out the exhaust, favourite place on the TD5 when they go.
The temp sensor is in the triangular shaped hose connector, top of the engine under the decorative cover.
It's a Euro multi plug as it talks to the ecu to control temp gauge, fueling, glow plug timing and electric fan.
HTH.