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.
Template:Tocright: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Hardvice +limit reflex documentation |
imported>Hardvice clarify |
||
| Line 7: | Line 7: | ||
Forces TOC and floats it on right. TOC will appear at the location the template is inserted, so it should be used before the first heading. |
Forces TOC and floats it on right. TOC will appear at the location the template is inserted, so it should be used before the first heading. |
||
If <code>|limit=</code> is specified, only headings of the level or greater will be included in the TOC. For example, <code>|limit=2</code> will include only level two headings (<nowiki>==Heading==</nowiki>), while <code>|limit=3</code> will include level three headings (<nowiki>===Heading===</nowiki>) as well as level two headings, and so on. |
If <code>|limit=</code> is specified, only headings of the specified level or greater will be included in the TOC. For example, <code>|limit=2</code> will include only level two headings (<nowiki>==Heading==</nowiki>), while <code>|limit=3</code> will include level three headings (<nowiki>===Heading===</nowiki>) as well as level two headings, and so on. |
||
{| style="background: transparent;" |
{| style="background: transparent;" |
||
Revision as of 10:42, 10 November 2007
Usage
Forces TOC and floats it on right. 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 specified 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.
{{tocright|limit=<!--OPTIONAL Highest level heading to include in TOC-->}}
|