Template:Template Page/doc

Template code Any categories to be inserted into articles by the template
 * Description
 * This template is used to do something.


 * Syntax
 * Type  somewhere.


 * Sample output
 * gives...

Any categories for the template itself