Difference between revisions of "Template:CategoryTOC"

Line 7: Line 7:
 
[{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|from=~}} ~]<includeonly>
 
[{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|from=~}} ~]<includeonly>
 
|-
 
|-
| halign="center" colspan="3" style="margin-top: 0px;" | ''<small>[[Template:CategoryTOC|How do I get this is TOC?]]</small>''</includeonly>
+
| halign="center" colspan="3" style="margin-top: 0px;" | ''<small>[[Template:CategoryTOC|How do I get this TOC?]]</small>''</includeonly>
 
|}
 
|}
 
</center><noinclude>
 
</center><noinclude>

Revision as of 17:15, 26 October 2007


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. If there is a related categories section, place {{CategoryTOC}} above the section.