Template:CategoryTOC/Doc
From Starfield Wiki
Summary[edit]
Place this template on a category page in order to add a table of contents (links to the start of each letter in the category).
This template was originally copied from Wikipedia.
Parameters[edit]
Note: it is left to the user not to use {{CategoryTOC|top=no|numerals=no|uppercase=no|lowercase=no}}, which results in an empty Contents box.
Parameter | Scope | Description |
---|---|---|
top | optional | Whether to show a "Top" link which will reset the page and show the full category from the beginning. (yes/no - Defaults to yes.) |
numerals | optional | Whether to show numerals as a group, separate, or not at all. (group/separate/no - Defaults to group.) |
uppercase | optional | Whether to show uppercase letters. (yes/no - Defaults to yes.) |
lowercase | optional | Whether to show lowercase letters. (yes/no - Defaults to no.) |
groupsep | optional | Separater to use between each grouping. (Defaults to " · ".) |
prefix | optional | If all the pages in the category begin with the same letters, use prefix to ignore those and group by the first non-prefix letter instead. |
Examples[edit]
{{CategoryTOC}}
{{CategoryTOC|numerals=separate|lowercase=yes}}