DOC: Update templates.rst: syntax, commas, expansion