HTH:

https://wema.co.uk/products/fuel-gauge?variant=29336274631

click on last pic for wiring diagram, double click to enlarge.