Fix misnamed variable in template docs