跳转到内容

模板:CategoryTOC/en:修订间差异

来自天灾之下:危险连接资料站
wiki>Shirayuki
小 Reverted edits by Quannguyen87 (talk) to last version by ExE Boss
 
小 导入1个版本
 
(没有差异)

2025年12月16日 (二) 16:40的最新版本

模板文档

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
字符串可选