Template:TOC right/doc

From OpenStreetMap Wiki
Jump to navigation Jump to search

Places the table of contents in the right margin. Text floats left of the TOC.

Usage

If you want to use this template, place following in the page edit box, ideally at the top of the edit box, although it can also be placed anywhere down the edit box amongst existing text, and will then appear to the right of the content placed after it.

  • {{TOC right}}
  • {{TOC right|width= 250px }} or {{TOC right|250px}} - use an optional parameter to restrict the TOC with a limited width.
  • {{TOC right|clear= left }} - use an optional parameter to float the TOC on the left side instead of the right.
  • {{TOC right|limit= 3 }} - limits the depth of a table of contents. Valid values are 2,3,4,5,6,7.

See also