Template:Documentation/Doc
Appearance
This template is used for providing documentation for templates. It will "grab" the documentation from the /Doc
subpage under the template it's used for. For example, using it on Template:Documentation would grab the documentation from Template:Documentation/Doc.
Usage
In general, the documentation should not be part of the template itself, thus you might want to do follow this general pattern:
<includeonly> <!-- Template-specific code --> </includeonly><noinclude>{{Documentation}}</noinclude>