Template:Alphanumeric TOC/doc

Alphanumeric TOC is a customizable substitute for the (formerly) growing zoo of variants of Compact TOC. Rather than have dozens of stylistic varieties, it is preferable to have a single template which can be adjusted to fit the editor's wishes.

Usage
Insert the following at the point in the article where you want the TOC to appear: If using with a list, many editors have found it helpful to insert a TOC at both the beginning and end of the list (remember to add  to the bottom template to quickly get back to the top).

Alignment
The natural state of the TOC is to appear along the left side of the page without any alignment. To align to the center of the page, add the parameter  with a value of 'center':

The TOC may also be aligned to the right or the left, causing the article text to wrap around it, but floating the TOC is generally discouraged. Guidelines may be found at Section.

Prefixing or suffixing links or link descriptions
The template includes the ability to add a prefix to the link with or without displaying it in the TOC. This can also be accomplished with this template by using the parameters  and  ; the former adds the prefix to the actual link, and the latter adds the prefix to the text displayed on the page. The  and   parameters work the same way. Examples:

Standard and custom sections
One of the reasons for having so many different versions of CompactTOC has been that some articles do not have a 'References' section, or the TOC is being used for a list contained within a larger article. This template solves the problem by providing a parameter for each link to be shown. They are as follows:


 * : shows the numbers link
 * ,, etc.: shows the link for that letter; alternatively it can be used to create unlinked letters (see example below)
 * : shows the link to the 'Top of Page'
 * : shows the link to the 'See also' section
 * : shows the link to the 'References' section
 * : shows the link to the 'External links' section

Some examples:

Optional user defined section links
Optional section links may be defined using the parameters,  ,  ,  , and  , as follows:

ca:Plantilla:Índex i taula de contingut opcional ka:თარგი:საძიებელი