From Fedora Project Wiki
To add documentation for a template: add this line to the end of your template:
- <noinclude>{{tempdoc}}</noinclude>
This will automatically transclude the /doc subpage of the template. Click the red link to edit the documentation.