Templates for documents and source