Template:TOCright

From Sugar Labs
Revision as of 14:35, 8 November 2009 by FGrose (talk | contribs) (test: enable non-numbering of table of contents section titles and TOC level limit)
Jump to navigation Jump to search

Table of Contents - right

  • This template can be used to wrap page text around a right-side table of contents box.
    To use it, enter this wiki markup code, {{TOCright}}, on the page where you want the table of contents box.
    {{TOCright|limit=3}} 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.
    {{TOCright|num=nonumtoc}} Removes the numbers preceding the section heading titles. These parameters are implemented through CSS classes in the MediaWiki:Common.css.
  • An alternate template, Template:TOCleft, is available if one wants to place the table of contents box on the left side of the page.