SP.WebInformation.webTemplateId property (sp.js)
An identifier indicating the Web site template.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var value = SP.WebInformation.get_webTemplateId ()
var value = SP.WebInformation.set_webTemplateId ()
Return value
A Int32 value indicating the Web site template identifier.