code: private static String templateToHtml( Template t){
  		if( t == null ) {
  			return "null";
  		}
  
  		StringBuilder result = new StringBuilder();
  
  		result.append(
  			"<table class=\"Template\">\n" +
  			"<tr><th class=\"Template\">Template</th></tr>\n"+
  			"<tr><td class=\"Template\">" +
  			"Name: \""+convertTags( t.getName() )+"\"<br>"+
  			"</td></tr>\n");
  
  		if( t.getParameters().size() != 0 ){
  			result.append("<tr><td class=\"Template\">");
  			for( String parameter: t.getParameters() ) {
  				result.append("Parameter: \""+convertTags( parameter )+"\"<br>");
  			}
  			result.append("</td></tr>\n");
  		}
  
  		result.append("</table>" );
  
  		return result.toString();
  	}
docs: Generates HTML Output for a {@link Template}.