This wiki is a XML full dump clone of "Heroes Wiki", the main wiki about the Heroes saga that has been shut down permanently since June 1, 2020. The purpose of this wiki is to keep online an exhaustive and accurate database about the franchise.

Difference between revisions of "Template:Tocleft"

From Heroes Wiki
Jump to navigation Jump to search
imported>Baldbobbo
(add toclimit)
imported>Baldbobbo
(noinclude close)
Line 11: Line 11:
 
|<pre>{{tocleft|limit=<!--OPTIONAL Highest level heading to include in TOC-->}}</pre>
 
|<pre>{{tocleft|limit=<!--OPTIONAL Highest level heading to include in TOC-->}}</pre>
 
|}
 
|}
 +
</noinclude>

Revision as of 04:21, 10 November 2007

Usage

Forces TOC and floats it on left. TOC will appear at the location the template is inserted, so it should be used before the first heading.

If |limit= is specified, only headings of the level or greater will be included in the TOC. For example, |limit=2 will include only level two headings (==Heading==), while |limit=3 will include level three headings (===Heading===) as well as level two headings, and so on.

{{tocleft|limit=<!--OPTIONAL Highest level heading to include in TOC-->}}