文档图示 模板文档[查看] [编辑] [历史] [清除缓存]


用途

编辑

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

参见

编辑