Template:CategoryTOC

From Free Music Wiki
Revision as of 04:26, 19 May 2026 by Buddydml (talk | contribs) (Created page with "<includeonly>{{#invoke:CategoryTOC|main}}</includeonly><noinclude> {{Documentation}} </noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Template documentation
  Warning: This page is not a documentation subpage, but it is using {{Documentation subpage 
 | {{Documentation subpage}}

}} incorrectly. Please use it only on pages named /doc in the template namespace.

This template adds a table of contents (TOC) to a category page, which is particularly useful for navigating very large categories.

Usage

{{CategoryTOC}}

Example

Typing the following code at the top of a category page:

{{CategoryTOC}}

Will produce a TOC with links for each letter A–Z and an "Other" link for pages that don't begin with a letter.

Parameters

This template currently does not take any parameters. All functionality is automatically provided by the associated Lua module.

See also

 | {{Large category TOC}}

}} – for extremely large categories (over 1000 pages)

 | {{Category TOC}}

}} – another simple TOC template

Editors can experiment in this template's sandbox and testcases pages.
Please add categories and interwikis to the /doc subpage.