跳转到内容

模板:CategoryTOC

来自天灾之下:危险连接资料站
wiki>Pppery2025年12月12日 (五) 08:15的版本
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
模板文档

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.

模板参数

此模板首选参数不换行的行内格式。

参数描述类型状态
Link Top?top

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

默认值
1
字符串可选
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.

推荐值
separate group no
默认值
group
字符串可选
Link Uppercase?uppercase

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

推荐值
yes no
默认值
yes
自动值
no
字符串可选
Link Lowercase?lowercase

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

推荐值
yes no
默认值
no
自动值
yes
字符串可选
Alignmentalign

Placement of links.

推荐值
left center right
默认值
center
字符串可选