![]() |
PZwiki Update Project — Project Zomboid has received its largest update ever. We need your help to get the wiki updated to build 41! Want to get started? See the community portal or join the discussion on the official Discord (pzwiki_editing). We appreciate any level of contribution. |
Template:TOC left
{{TOC left}}
forces the auto-generated "Table of Contents" for an article to appear floated to the left side of the page (as seen left), in order to improve article layout.
Contents
Usage
Insert {{TOC left}}
at the point in the article where you want the top of the Table of Contents box to appear. Use with {{clear}}
to prevent e.g. image collisions.
Parameters (optional)
- top
- To remove the small default margin/padding included above the box, set
|top|0
(or, to customize it, use|top|(a value)
). - width
- Set the CSS width.
- limit
- Limits the depth of subheadings shown. For instance using
|limit=4
will hide the fourth level and deeper subheadings in the hierarchy. And|limit=2
will hide all subheadings leaving only the main headings. This is implemented as a CSS class in the MediaWiki:Common.css.
See also
{{TOC right}}
{{CategoryTOC}}
Documentation transcluded from Template:TOC left/doc.
Editors can experiment in this template's sandbox (create)
Editors can experiment in this template's sandbox (create)