User:Gorgon/Sandbox/Sandbox Charlie
< User:Gorgon | Sandbox
Template:CategoryTOC
This template is based on Template:CategoryTOC.
It uses the original markup. The documentation below was copied to this template, since we do not use documentation sub-pages. MediaWiki specific information, links and sub-templates have either been removed, or modified for the Avlis wiki. It has been reformatted, and modified for improved clarity.
See the original template documentation for further details.
Template documentation
This template adds a table of contents (TOC) to a category page. It should only be added to category pages. It is generally not used for categories containing less than 200 total pages.
Usage
{{CategoryTOC | align = center / left / right | top = yes / no | numerals = group / separate / no | uppercase = yes / no | lowercase = no / yes }}
Parameters
align
- Specifies the position. Default iscenter
:center
(default)left
right
top
- Specifies whether a link to the top of the category is included. Default isyes
:yes
(default)no
numerals
- Specifies whether numerals are included Default isgroup
:group
(default): There is one link for 0-9.separate
: Each numeral 0,1,...,9 has a separate link.no
: No numeral link.
uppercase
- Specifies whether there is a link for each uppercase letter A,B,...,Z. Default isyes
:yes
(default)no
lowercase
- Specifies whether there is a link for each lowercase letter a,b,...,z. Default isno
:no
(default)yes