Fix typo templateVariable -> template.Variable

derp