Add variables to determine whether property is in template or page