Template:List TOC Letters/doc
< Template:List TOC Letters
Jump to navigation
Jump to search
Revision as of 00:28, 26 June 2013 by imported>AlanM1 (Fix to call correct template)
| This is a documentation subpage for Template:List TOC Letters. It contains usage information, categories and other content that is not part of the original template page. |
Usage
Similar to {{List TOC}}, 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.
Unlike {{List TOC}}, the A–Z links do not appear by default. They must be specified as parameters x1 through x26 in order to appear. Two upper rows can be defined using a1 through a20 and b1 through b20. Two lower rows can be defined using c1 through c20 and d1 through d20.
Examples
{{List TOC Letters
|x1=A|x2=B|x3=C|x4=D
|c1=White|c2=Pink|c3=Red|c4=Orange|c5=Brown|c6=Yellow|c7=Gray|c8=Green|c9=Cyan|c10=Blue|c11=Violet
|d1=Web colors|d2=Fictional colors|d3=See also|d4=Footnotes|d5=References}}
See also
{{List TOC}}