SP.WebCreationInformation.webTemplate property (sp.js)
Gets or sets a value that specifies the name of the site template to be used for creating the new site.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var value = SP.WebCreationInformation.get_webTemplate ()
var value = SP.WebCreationInformation.set_webTemplate ()
Return value
Type: String
Remarks
This property must refer to an existing site template.