The following text was in the second line of an error message reported by a user:
ReferenceError: "specialfeature" is not defined. (com.ci.templates.model.ITemplate/23:script#4)
This portion of the text will define which template is causing the error: Template/23
Template 23 tells us that it's the 23rd template that appears in their database (you must remove the sort on the Template list to accurately find the appropriate template)
To verify the ID of the Templates in the list. Right click on the template name >> Choose Table >> Choose Show Item Info
The Item ID box will appear and the number of the selected template can be compared to the template number referenced in the error message.
Template/23:script#4 - The second half of the error message defines the problem with the template. In this case it was line #4 in the Script