These are FreeMarker templates and these can be created using various editors (http://freemarker.sourceforge.net/editors.html).
For the most part you can even use your favorite HTML editor. There is a good opensource HTML editor WYSIWYG KompoZer (http://kompozer.net/).