is it the same for template loops?