Geared steam locomotive
This gearing is part of the machinery within the locomotive and should not be confused with the pinion that propels a rack locomotive along the rack between the rails. The geared steam locomotives that have been built have been for conventional track, relying on the adhesion between wheels and rail.
Fairlie locomotive
In both the UK and the USA, single Fairlies were the first locomotives in each country to use the European Walschaerts valve gear. The Stephenson link gear, which was usual at the time, used multiple eccentrics between the frames but the Walschaerts gear was mounted "outboard" of the frames and connecting rods. This was advantageous because the Fairlie system required this space between the frames for the bogie pivot.