Returns the template.
nullvar template = obj.getTemplate(name, [index1, index2, ...]);
name (string) - template name
optional index1, index2, ... (string) - template indices
template object
It is possible to get the template by name or use generated get function -
var template = obj.getTemplate("cell", 2, 3);
is the same as
var template = obj.getCellTemplate(2, 3);
setTemplate(), defineTemplate() methods