模板:Horizontal TOC

模板页面
Zorua Fox留言 | 贡献2023年4月10日 (一) 22:49的版本 (导入1个版本:​导入自求闻百科的页面[页面文字原许可:CC BY-SA 4.0])
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
文档图示 模板文档[查看] [编辑] [查看历史] [清除缓存]

该模板将目录的垂直列表以水平方式显示。

使用

{{horizontal TOC}}

There is no need to specify __NOTOC__: this template handles that automatically.

To hide the generated heading numbers, use:

{{horizontal TOC|nonum=yes}}

To limit the depth of the generated headings to the first headings only, use:

{{horizontal TOC|limit=2}}

To float the table of contents to the center of the page, use:

{{horizontal TOC|align=center}}

参见

上述文档内容嵌入自Template:Horizontal TOC/doc编辑 | 历史
编者可以在本模板的沙盒创建 | 镜像和测试样例创建页面进行实验。
请将模板自身所属的分类添加在文档中。本模板的子页面