Templates: Extended the documentation.

- More checks when rereading templates.
- Documentation: Added styles.