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


用途

編輯

{{TOCleft}}

This template forces the auto-generated Table of Contents for an article to appear in a table that is floated to the left side of the page, in order to improve article layout.

用法

編輯

插入{{TOCleft}}在你想要放置目錄的地方。


用法

編輯

輸入{{TOCleft}}即可。這將會將目錄放在左邊觀看。

注意事項

編輯
  • 請注意,當結果是將目錄放置在視覺效果不佳的位置時,不應使用此模板。如果可以避免的話,跨section division的目錄可能是一個壞主意。
  • 除非{{TOCleft}}所在的部分目錄足夠長,否則結果很可能是不希望的。請注意,如果目錄在項目符號列表的左側浮動,則項目符號將被隱藏。
  • 使用{{TOCleft}}以及{{TOCright}}模板請遵循相關格式規範。
  • 一般來說,最好在引言部分(或者至少在第一段)後面插入{{TOCleft}}。
  • 由於Vector 2022皮膚將目錄放置在側邊欄或下拉菜單內,故此模板在該皮膚下無法控制目錄的顯示位置。


限制

編輯

由於Vector 2022皮膚將目錄放置在側邊欄或下拉菜單內,故此模板在該皮膚下無法控制目錄的顯示位置。

歷史

編輯
  • Created 5 July 2005 by en:User:DESiegel
  • Documented 5 July 2005 by en:User:DESiegel
  • Created in response to the discussion of TOCright on TfD and elsewhere.
  • Changed style statement to match what would be seen for a floating image, which uses the "thumb tleft" classes. 7 July 2005 by Mike

參見

編輯