Warning: file_put_contents(/opt/frankenphp/design.onmedianet.com/storage/proxy/cache/829a5ec799744a3c78256f85df5e8ffd.html): Failed to open stream: No space left on device in /opt/frankenphp/design.onmedianet.com/app/src/Arsae/CacheManager.php on line 36

Warning: http_response_code(): Cannot set response code - headers already sent (output started at /opt/frankenphp/design.onmedianet.com/app/src/Arsae/CacheManager.php:36) in /opt/frankenphp/design.onmedianet.com/app/src/Models/Response.php on line 17

Warning: Cannot modify header information - headers already sent by (output started at /opt/frankenphp/design.onmedianet.com/app/src/Arsae/CacheManager.php:36) in /opt/frankenphp/design.onmedianet.com/app/src/Models/Response.php on line 20
Wikipedia:Template index/Compact tables of contents - Wikipedia Jump to content

Wikipedia:Template index/Compact tables of contents

From Wikipedia, the free encyclopedia

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 pages

[edit]

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

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

{{AlphanumericTOC|numbers=yes}}

Variable, see template page for examples

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

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

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 pages

[edit]

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

{{Category TOC}}

{{Large category TOC}}

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

{{Category IP TOC}}