Template:Documentation/doc


 * Description
 * This template is used to insert documentation on template pages. Templates can sometimes be confusing, so they should always include documentation to help editors use them correctly.


 * Dependencies
 * Template:Documentation/preload
 * Template:Documentation/preload-sandbox
 * Template:Documentation/preload-testcases
 * Template:Tocright (Template:Tocright/doc)


 * Syntax
 * Type  at the end of the template page.

On the Template page
Template code


 * Nothing between the  tags will appear on pages that use the template concerned. This information will only be shown on the Template:Example page.

On the Template/doc page

 * Description
 * This template is used to do something.


 * Dependencies:
 * Uses (some CSS, JS, file, or other template).


 * Syntax
 * Type  somewhere.


 * Sample output
 * gives...


 * Use any or all of the above description/syntax/sample output sections. You may also want to add "see also" or further usage information sections.
 * Note that the above example also uses T.