FANDOM


Contents

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Export this template, then import, to install it.
Use edit summary: Copied from [[w:c:templates:Template:Tocalphabet]] to properly attribute this template's editors.
This template is probably not already on your wiki.
Template documentation
Note: the template above may sometimes be partially or fully invisible.

View or edit this documentation. (How does this work?)

Editors can experiment with this template's sandbox and test case pages.
Description
This is a custom TOC intended for an alphabetical list with each letter having its own section/page.
The default is to cause the TOC to not appear, and to give a link to each heading A through Z. It can be customized to link to other pages, or to allow the default TOC to appear.
parameters
prefixlink - This is the prefix for the links A-Z. if this were "+", the A link would go to "+A" The default is "#", so "#" is not included if this is changed.
prefixdesc - This is the prefix for the appearance of the links. If this were "+", the A link would appear "+A"
notoc - This clears the __NOTOC__ tag if set.
Sample output
{{Tocalphabet|prefixlink=#}} gives

Contents

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

{{Tocalphabet|prefixdesc=Doc}} gives

Contents

DocA DocB DocC DocD DocE DocF DocG DocH DocI DocJ DocK DocL DocM DocN DocO DocP DocQ DocR DocS DocT DocU DocV DocW DocX DocY DocZ

Community content is available under CC-BY-SA unless otherwise noted.