Incubator escapee wiki:Template index/Compact tables of contents

{{#invoke:Shortcut|main}} Template:Warning

This page lists ways to create several kinds of compact tables of contents (TOC). Please note that a normal compact TOC will not work when put on Category pages; this page contains a separate section instructing you how to put a compact TOC on Category pages.

Non-category pagesEdit

These should work on pages whose title does not begin with "Category:".

Template:Tlx

Template:Compact ToC

See template page for numerous examples. This highly customizable template can replace most other templates listed below, which are in the process of being switched over to its code.

Template:Tlx

Template:AlphanumericTOC

Variable, see template page for examples

Template:Tlx

Template:CompactTOCprefix

Similar to the above, includes the prefix in the links: designed for use with pages such as List of acronyms and initialisms: A.

Template:Tlx

Template:TOC US states

Use before= or after= to manually create links to other sections on the page. If after is left blank, links to [[#See also]], [[#References]] and [[#External links]] may also be generated using optional parameters.

Category pagesEdit

Use one of these on pages whose title begins with "Category:".

Template:Tlx

Template:TOC top{{#ifeq:yes|yes| Template:TOC bottom

Template:Category other

Template:Tlx

Template:Large category TOC

Template:Tlx

Template:TOC top{{#ifeq:yes|yes| Template:TOC bottom

Template:Category other

Template:Tlx

Template:Category IP TOC