Template:Tocalphabet

From MegaGlest
Jump to: navigation, search

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



Template documentation (for the above template)[view] [edit] [purge]
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}}   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