From Fedora Project Wiki

Each and every template must have:

  • A title that can be easily typed in all lowercase
  • A {{tempdoc}} tag
  • A category within Category:Templates
    • If your template doesn't fit at all, make a new category, and make that category a subcategory of Category:Templates.

Less important

  • Actual documentation for each template

What goes at the bottom

<noinclude>{{tempdoc}}[[Category:replace me]]</noinclude>