What's the difference between a template and a document?