Template:TOC001/doc

About
This TOC is meant for numbered lists with 1000 entries, such as the List of minor planets and Meanings of minor planet names series.

To be functional for long lists, the list page must have anchors named "001", "101", "201", ..., "901". In a table, this can be done by adding  to a cell's parameters. Outside of a table, this can be done by adding.

If a list contains only several entries (i.e. for pages containing minor planets numbered above 100,000), this TOC may still be used to navigate ± 5,000 entries in either direction, which is larger than MinorPlanetNameMeaningsFooter's succession-box navigation of ± 1,000.

Usage
The prefix parameter is required, but defaults to 1 to suppress error messages. prefix should be set to: [(# of the lowest possible entry on the page) - 1]/1000. For example, List of minor planets: 1001–2000's prefix parameter should be set to: (1001 &minus; 1)/1000, or 1.

When prefix &le; 5, or empty, the bottom range of the TOC is 1–10,000. When prefix &le; 6, the bottom range of the TOC dynamically adjusts to the range (prefix &minus; 5) × 1000 to (prefix + 5) × 1000. For example, the range for List of minor planets: 55001–56000, which uses 55, is (55 &minus; 5) × 1000 to (55 + 5) × 1000, or 50,000 to 60,000.

yes may be set to link to Meanings of minor planet names list pages instead of List of minor planets pages. List of minor planets pages are linked to by default.