code: function renderTemplatesList( container, templatesDefinitions ) {
  			// clear loading wait text.
  			container.setHtml( '' );
  
  			for ( var i = 0, totalDefs = templatesDefinitions.length; i < totalDefs; i++ ) {
  				var definition = CKEDITOR.getTemplates( templatesDefinitions[ i ] ),
  					imagesPath = definition.imagesPath,
  					templates = definition.templates,
  					count = templates.length;
  
  				for ( var j = 0; j < count; j++ ) {
  					var template = templates[ j ],
  						item = createTemplateItem( template, imagesPath );
  					item.setAttribute( 'aria-posinset', j + 1 );
  					item.setAttribute( 'aria-setsize', count );
  					container.append( item );
  				}
  			}
  		}
docs: Constructs the HTML view of the specified templates data.