Experimental methods allow the shape and chemical composition of solid surfaces to be controlled at a mesoscopic level. Exposing such structured substrates to a gas close to coexistence with its liquid can produce quite distinct adsorption characteristics compared to that occuring for planar systems, which may well play an important role in developing technologies such as super-repellent surfaces or micro-fluidics. Recent studies have concentrated on adsorption of liquids at rough and heterogeneous substrates and the characterisation of nanoscopic liquid films. However, the fundamental effect of geometry has hardly been addressed. Here we show that varying the shape of the substrate can exert a profound influence on the adsorption isotherms allowing us to smoothly connect wetting and capillary condensation through a number of novel and distinct examples of fluid interfacial phenomena. This opens the possibility of tailoring the adsorption properties of solid substrates by sculpturing their surface shape.