Template:ListTOC

From Libregamewiki
Jump to: navigation, search
Contents: !$@ 0-9 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

Introduction[edit]

ListTOC gives a compact, alphanumerical alternative to the standard table of contents. It does not fetch sections automatically, instead it can only link to sections which are either named "!$@", "0-9" or by any uppercase letter and relies on the list authors to update it according to changes in the list. ListTOC should only be used for lists!

Usage[edit]

Place {{ListTOC}} at the position where you want it to appear.

Contents: !$@ 0-9 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

Reducing length[edit]

To disable links for single letters, you have to set the lowercase versions of them equal to nothing. For symbols and numbers to disappear, you have to set sy= and nu= as parameters.

{{ListTOC|sy=|a=}} will lead to the removal of the symbols and the A-link.

Contents: 0-9 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

Recommended template[edit]

This example of the ListTOC will hide all letters, place it in the targeted list and remove all letters according to the letters existing in the list.

{{ListTOC|sy=|nu=|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=}}

Contents: