Nanoline Templating of metals and the underlying surface processes