Perfected indentation in templates