Jump to content

Elite Dangerous Wiki:Template index/Compact tables of contents: Difference between revisions

From Elite Dangerous Wiki
Content deleted Content added
 
Adapt Wikipedia template index links and provide source history attribution
Line 56: Line 56:
[[Category:Wikipedia table of contents templates| ]]
[[Category:Wikipedia table of contents templates| ]]
[[Category:Wikipedia template administration]]
[[Category:Wikipedia template administration]]

<div class="plainlinks" style="font-size:85%; margin-top:1em;">Adapted from [https://en.wikipedia.org/wiki/Wikipedia:Template_index/Compact_tables_of_contents Wikipedia]; see its [https://en.wikipedia.org/w/index.php?title=Wikipedia%3ATemplate+index%2FCompact+tables+of+contents&action=history revision history] for contributors. Content is available under the Creative Commons Attribution-ShareAlike licence.</div>

Revision as of 00:05, 31 October 2026

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

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

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}}