Template:Tocright/doc

From Angelina Jordan Wiki
This is a subpage documenting Template:Tocright. To change the template, edit that page; to change the template's documentation (seen below), edit this one.

Documentation

This template causes the table of contents to be displayed "floated" to the right side of the page.

Usage

  • {{tocright}}
  • {{tocright|margin=style}}

Examples

  • {{tocright}}
  • {{tocright|margin=0 0 .5em 1em}}

The second example is setting the margins around the table of contents to be 0 units on the top and right side, 0.5 em on the bottom, and 1 em on the left side, which happen to be the default margin sizes used by the template. So both of these examples actually do the same thing.

Alias

  • {{toc-right}}