Tuning of the periodicity of stable self-organized metallic templates