The oil pressure, water temp, and fuel level gauges are all powered by an Instrument Voltage Regulator (IVR). The ammeter is seperate in operation from the other three. The IVR is mounted to the rear of the gauge cluster, and the output of the IVR is daisy-chained to all three gauges.
Because your oil pressure gauge always works, I'd rule out any problem with the IVR. All three gauges work similarly, in that the sending unit varies a resistance, and the gauge reflects that resistance. The range of the sending units is ~73 ohms for the bottom of the scale and 10 ohms for the top of the scale. So, if you disconnect the wire from the sending unit on a working gauge, the gauge should, because of the increase in resistance, drop to the bottom of the scale. Conversly, if you connect the wire at the sending unit directly to ground, the gauge should peg full scale.
You didn't say whether, when the gauges were not working, what the gauge showed. But, because they're intermittant, it's most likely a connection problem, and possibly right at the sending unit. Of course, that being said, I had a similar probme with my water temp gauge, and the intermittant connection turned out to be a broken connection in the firewall connector. I repaired it by running a seperate wire around the connector.