Template:Documentation/doc

Template for use on template pages to separate documentation from the actual template. Includes a /doc subpage.

Usage
Simply place the following where you want the documentation to appear:

You need to make sure that the documentation is not transcluded along with the template wherever the template is used (usually by enclosing the above in  tags).