Toilet cistern ?

My toilet system cistern has a fault and throws off the button connection when someone tries to flush I cannot find a direct replacement will any part fit the cistern as long as I replace the button and valve and is this simple to do an example is below and is an example of what I need to replace .Will this be a universal replacement. 

Girlie Electrics2021-02-16T22:33:51Z

It'll work fine as long as you don't have a vintage syphonic loo.

(anything younger than 40 years should be fine)

Spock (rhp)2021-02-10T13:29:45Z

the toilet maker can advise you on this.  use their support pages and cite your model number