Add mention of switch to TemplateView in docs