Adding sample code to TemplateParser::processTemplate() docs