fnLogDeprecation = function(sName) {
			Log.warning("The usage of Template Views is deprecated since 1.56. Please make use of the asynchronous create functions of the different view classes, e.g. XMLView.create()","Deprecation", null, function() {
				return {
					type: "sap.ui.template",
					name: sName
				};
			});
		}
Creates a Template for the given ID, DOM reference or a configuration object.

If no parameter is defined, this function makes a lookup of DOM elements
which are specifying a type attribute. If the value of this type attribute
matches a registered type then the content of this DOM element will be
used to create a new <code>Template</code> instance.

If you want to lookup all kind of existing and known templates and parse them
directly you can simply call:
<pre>
  sap.ui.template();
</pre>

To parse a concrete DOM element you can do so by using this function in the
following way:
<pre>
  sap.ui.template("theTemplateId");
</pre>

Or you can pass the reference to a DOM element and use this DOM element as
a source for the template:
<pre>
  sap.ui.template(oDomRef);
</pre>

The last option to use this function is to pass the information via a
configuration object. This configuration object can be used to pass a
context for the templating framework when compiling the template:
<pre>
  var oTemplateById = sap.ui.template({
    id: "theTemplateId",
    context: { ... }
  });

  var oTemplateByDomRef = sap.ui.template({
    domref: oDomRef,
    context: { ... }
  });
</pre>

It can also be used to load a template from another file:
<pre>
  var oTemplate = sap.ui.template({
    id: "myTemplate",
    src: "myTemplate.tmpl"
  });

  var oTemplateWithContext = sap.ui.template({
    id: "myTemplate",
    src: "myTemplate.tmpl",
    context: { ... }
  });
</pre>

@param {string|Element|object} [oTemplate] the ID or the DOM reference to the template to lookup or a configuration object containing the src, type and eventually the ID of the Template.
@param {string} oTemplate.id - the ID of the Template / the ID  of the DOM element containing the source of the Template</li>
@param {Element} oTemplate.domref - the DOM element containing the source of the Template</li>
@param {string} [oTemplate.type] - the type of the Template</li>
@param {object} [oTemplate.context] the context for the renderer/templating
@param {string} [oTemplate.src] - the URL to lookup the template</li> (<i>experimental!</i>)
@param {string} oTemplate.control - the fully qualified name of the control to declare</li> (<i>experimental!</i>)
@return {sap.ui.core.tmpl.Template | sap.ui.core.tmpl.Template[]} the created Template instance
        or in case of usage without parameters any array of templates is returned
@deprecated since 1.56, use an {@link sap.ui.core.mvc.XMLView XMLView} or {@link sap.ui.core.mvc.JSView JSView} instead.
@public
@static
@ui5-global-only