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
<noinclude>{{Doc}}</noinclude>
Sections
The template should have these sections
About
This should contain description and purpose of the template.
TemplateData
This section contains TemplateData information. This can be used for people editing visually to add templates.
The above was transcluded from Template:Documentation/doc