Create template: Main if exists/sandbox