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

模板頁面
(修改自此处;原许可:CC BY-SA 3.0[网站升级迁移])
 
(导入1个版本:​导入自求闻百科的页面[页面文字原许可:CC BY-SA 4.0])
 
(無差異)

於 2023年4月10日 (一) 22:49 的最新修訂

文檔圖示 模板文件[檢視] [編輯] [查看歷史] [清除快取]

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

使用

{{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編輯 | 歷史
編者可以在本模板的沙盒創建 | 鏡像和測試樣例創建頁面進行實驗。
請將模板自身所屬的分類添加在文檔中。本模板的子頁面