This template adds a table of contents to a category page. It should only be added to category pages. There are no parameters. Simply add {{CategoryTOC}} to the text on the category page. simple:Template:CategoryTOC