Template:List TOC letters/doc

Usage
This template creates a horizontal table of contents with links from A to Z (controllable) and four optional rows of links. It is intended primarily for list articles where the standard TOC would be unwieldy. The template is styled with the hlist class for accessibility and has few superfluous frills.

The A–Z links do not appear by default. They must be specified as parameters x1 through x26 in order to appear. Additionally, parameters u1 through u8 can be defined to appear before the x* parameters, and z1 through z8 to appear after them.

Two rows to appear above the x* parameters can be defined using a1 through a20 and b1 through b20 and two rows to appear below can be defined using c1 through c20 and d1 through d20.

With the exception of the u* and z* parameters, values are assumed to be anchors on the current page, and are transformed into  links.

The u* and z* parameter values are rendered as-is, so if they are to be links, you must include proper link markup (i.e. &#91;&#91;value&#93;&#93;).