Template-based methods are a set of techniques in nanotechnology where a pre-defined structure, or template, is used to guide the formation of nanoscale materials. These templates can be either physical molds or chemical patterns that influence how nanoparticles assemble.