Template:Tocright

From PortlandWiki
Revision as of 18:55, 22 May 2014 by WikiMaster (talk | contribs) (Create template.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

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

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 the first argument/parameter is specified, it will be applied to width of the TOC (i.e. use {{tocright|170px}} for a TOC that is only 170 pixels wide).

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.

Template Source: http://heroeswiki.com/Template:Tocright