templates
Standard templates, installed via RPM. These may either be installed by the normal system install, or by add-on packages which don't conflict with the system installed templates.
The files in this tree should not be modified by hand. The changes will be lost in the next system upgrade.
Contrib developers - your templates should go here, unless they conflict with a standard template. If so, please raise a bug so that the conflict can be resolved. There are cases where the templates should be split, but unless you raise a bug nobody is going to know.
templates-custom
Hand-installed templates (local hacks) or templates which conflict with/override the system installed templates.
Each template here must be checked for relevance and compatibility with each system upgrade. The overridden template may have changed or ceased to be.
templates-default
Simple headers/footers for template expansions in various languages - e.g. html, php, etc.
templates.metadata
Extra configuration parameters for template expansion, when required - e.g. to set ownership, permissions or paths when the defaults aren't sufficient. These are used quite a lot in 7.0 in preference to simple conf-* scripts which just expand a template with specific permissions, ownership, etc. The templates.metadata method is far more efficient.
templates-user
Templates which expand relative to user's home directories, e.g. /etc/e-smith/templates-user/.qmail
templates-user-custom
The equivalent of templates-custom for the user templates.
Gordon