code: public TemplateBean getTemplate() {
  
          TemplateBean templateBean = getRequestAttribute(CmsTemplateContextManager.ATTR_TEMPLATE_BEAN);
          if (templateBean == null) {
              templateBean = new TemplateBean("", "");
          }
          return templateBean;
      }
docs: Gets a bean containing information about the current template.<p>
  
  @return the template information bean