Template:Documentation
Jump to navigation
Jump to search
This template is used to insert documentations on template pages.
Usage
Add {{Documentation}}
at the end of the template page after the template's code (usually enclosed with <includeonly>
) alongside the template's categories, both of which must be enclosed with <noinclude>
.
Documentation formatting
The documentation page is the /doc subpage for a template, categorized into Category:Template documentation and using the following format:
[template description] {{Heading2|Usage}} [template usage] {{Heading3|Syntax}} [template syntaxes] {{Heading3|Example}} [template output example]
- The Example section is optional.
- Note that the above example also uses the Template:T and Template:T/piece templates.