Galvanic replacement reactions carried out on solid core-shell structures typically yield a noble metal nanorattle geometry in which a mobile core is contained within a hollowed shell. Here, we adapt this colloidal synthesis to substrate-based structures to obtain a fundamentally altered product in which an immobilized core is separated from the shell by a well-defined gap, an architecture unobtainable using colloidal techniques and that offers unique advantages in terms of generating plasmonic near-field effects within the confines of a single structure. In the devised route, Wulff-shaped templates of Au, Pt, or Pd, formed through the dewetting of ultrathin films, are first transformed into core-shell structures through the reduction of Ag(+) ions onto their surface and then further transformed through the galvanic replacement of Ag with Au. Through suitable adjustments to the shell geometry, the epitaxial relationship with the substrate, and the extent to which the shell is replaced, it is possible to generate an entire family of nanostructures in which a Wulff-shaped core is confined within a nanoshell, nanocage, or nanoframe, where, in all cases, bonds formed between the structure and the substrate preclude motion. With the potential to tune the gap width, the geometry of the confining structure, and the composition of the core, shell, and substrate, these structures could find application as catalytic nanoreactors able to drive both single-step and cascade reactions or as plasmon-based sensing elements for biological and chemical detection.