www.westmarine.com/sending-units On the above link you will see a few different designs the one below would be my choice why it had no moving parts except the float moves up and down the rod
The style below could be used on other fluid as well

The style below under wave movement will rock and roll far more than the design above

the choice is yours
My fuel tank gauge at the moment is the original 1/2 dowel with marks on it indicating 1/4 to 1/2 to 3/4 to full
To use it I have to remove and rubber plug.
I will be removing the tank and replacing it with some thing more substantial than whats there and Ill be making sure every battery, water ,fuel and what ever stays in place If the boat does a 360 they will stay where they are