There used to be an example in there... not sure what happened to it.
Anyway, there is an equivalent example in the Otter documentation: https://inedo.com/support/documentation/otter/reference/templating
Note the Apply-Template
operation handles all the replacements / captures all configuration variables by default, while also allowing for other values to be injected if necessary.