Wikipedia:Template index/Compact tables of contents

{{shortcut|WP:TM/TOC|WP:TMTOC|WP:CTOC}}

{{Warning|The 'Top' and 'Top of page' links within these templates are non-functional when used with browsers and/or skins that support floating quickbars. Please propose working solutions for all browsers and skins on the talk page.}}

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.

__TOC__

Non-[[Wikipedia:Categorization|category]] pages

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

{{tlx|Compact ToC}}

{{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.

{{tlx|AlphanumericTOC|numbers{{=}}yes}}

{{AlphanumericTOC|numbers=yes}}

Variable, see template page for examples

{{tlx|CompactTOCprefix|prefix{{=}}!}}

{{CompactTOCprefix|prefix=!}}

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

{{tlx|TOC US states|before{{=}}|after{{=}}Other section|noendlinks{{=}}}}

{{TOC US states|before=|after=Other section}}

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.

[[Wikipedia:Categorization|Category]] pages

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

{{tlx|Category TOC}}

{{Category TOC}}

{{tlx|Large category TOC}}

{{Large category TOC}}

{{tlx|Category TOC|numerals{{=}}separate|uppercase{{=}}no}}

{{Category TOC|numerals=separate|uppercase=no}}

{{tlx|Category IP TOC}}

{{Category IP TOC}}

Category:Wikipedia template administration