Template:Documentation/doc

This template is used to insert documentation on template pages.
 * Description

This template uses File:Template-info.svg and the templates ! and Tocright, while the documentation needs T.
 * Dependencies

Type  at the end of the template page.
 * Syntax

NOTOC= with any values not null, it will not show the table of contents - optional.
 * Parameters

- Category:Template Documentation - Category:Templates Without Documentation
 * See Also

On the Template Page
Template code Any categories to be inserted into articles by the template

On the Template/doc Page

 * See also Template:Documentation/preload

This template is used to do this. This template uses File:image.jpg...; Template1...; and the CSS Style/Java scripts &lt;pre> Script code &lt;/pre> (or the link to the code) Type nometemplate here. text/1= parameter 1 - free, default: 1. other= value of other - optional. parameter gives:
 * Description
 * Dependencies
 * Syntax
 * Parameters
 * Samples

- Links.
 * See Also/External Links

Any categories for the template itself

Take any or all of the above sections as model to write the documentation. Note that the above example also uses T.