It's called macro, not template:
|
@macro # The `macro` is a decorator recognized by the template processor to replace the entire decorated procedure definition with the "unparsed" result of calling the procedure; the decorator is not valid outside of template processing context (as is evident from the fact there's no corresponding definition of `template`, it's a purely syntactical construct) |
It was called template earlier, but was renamed, while the old reference in the documentation text remains.