Fix docs for template and replace properties

See issue #8062