add simple example of template doc, closes #7