What this does is provide a mechanism to apply consistent styling and templates on a per article-type basis in the HTML KB of the Cireson Portal for Service Manager. I recommend using the loadScript function with a line like this:
loadScript('/CustomSpace/kbTemplates/kbTemplate.js',["KnowledgeBase/Edit","KnowledgeBase/New"]);
The script will add a CSS button to the Analyst Content editor and the End User Content editors that will look for Style.css in the /CustomSpace/kbTemplates/ folder(as you can see from the loadScript line above, the script itself should also sit in that folder).
The script will also add a template button to both editors. Depending on the Article's Type, when clicked the button will look for that type's .html file in the kbTemplates folder(eg FAQ.html) and apply it to that editor.
I hope someone finds this useful!