Template:documentation/doc

Usage
This template displays the documentation for a template inside a box not included in the main template code. The documentation subpage (that ending with /doc) must exist for that text to be transcluded in the template. If not, this template will display a redlink.

Syntax
You will have to put it inside  tags at the end of the template page, so the doc doesn't display along with the template content.