模板:TOCleft
此模板不能在Vector 2022皮膚上正確地工作,請閱讀文檔以獲得解釋。 |
用途[編輯]
{{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}}
在你想要放置目錄的地方。
範例與注意事項[編輯]
<-- look to the left
Note that this template should not be used when the result is to place the TOC in a visually poor location. A TOC that crosses a section division is probably a poor idea, if that can be avoided.
Unless the section in which the {{tl:TOCleft}} is places is long enough, the result may well be undesireable. Note particualrly that if the TOC is floated left of a bulletted list, the bullets will be hidden.
An MOS entry on when to use this template, and the parallel template {{tl:TOCright}} would probably be a good idea. A discussion is now (as of 7 July 2005) in progress at en:Wikipedia_talk:Manual_of_Style#Template:TOCright.
In general, it is probably better to insert {{tl:TOCleft}} after the lead section, or at least the first paragraph.
限制[編輯]
由於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
參見[編輯]
上述文件嵌入自Template:TOCleft/doc。 (編輯 | 歷史) 編者可以在本模板的沙盒 (建立 | 鏡像)和測試樣例 (建立)頁面進行實驗。 請在/doc子頁面中添加分類。本模板的子頁面。 |