A reviving templating method for multiple nanostructures