Template:CategoryTOC/pt

Template documentation

This is the TemplateData documentation for this template used by VisualEditor and other tools.

CategoryTOC

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 500 total pages.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Link Top?top

Specifies whether a link to the top of the category is included.

Default
1
Stringoptional
Link Numerals?numerals

Specifies whether and how numerals are included:

separate
Each numeral 0,1,...,9 has a separate link.
group
There is one link for 0-9.
no
no link.

Suggested values
separate group no
Default
group
Stringoptional
Link Uppercase?uppercase

Specifies whether there is a link for each uppercase letter A,B,...,Z.

Suggested values
yes no
Default
yes
Auto value
no
Stringoptional
Link Lowercase?lowercase

Specifies whether there is a link for each lowercase letter a,b,...,z

Suggested values
yes no
Default
no
Auto value
yes
Stringoptional
Alignmentalign

Placement of links.

Suggested values
left center right
Default
center
Stringoptional