Documentation template is a special type of template, that is transcluded to templates. It is used for documenting templates of any kind, from maintaince ones to those most complicated ones.
How-to use it
To use this template, add following code to your template
The template should have these sections
This should contain description and purpose of the template.
This section contains TemplateData information. This can be used for people editing visually to add templates.
The above was transcluded from Template:Documentation/doc