hmm, on the petrol models its fitted in the oil filter/cooler housing on the side of the block.
The filter screws onto the bottom of the housing, and the temperature and pressure senders go into the top.
I'd look here first.
The think in the sump is likely to be the level sender