Edited documentation of templates.rst