「Template:Horizontal TOC/doc」:修訂間差異

模板頁面
無編輯摘要
 
(繁简转换 by ZF-bot
 
(未顯示由 1 位使用者於中間所作的 1 次修訂)
第36行: 第36行:


<includeonly>
<includeonly>
[[Category:目模板]]
[[Category:目模板]]
</includeonly>
</includeonly>

於 2023年9月24日 (日) 23:16 的最新修訂

該模板將目錄的垂直列表以水平方式顯示。

使用

{{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}}

參見