Template:Tocright

From Angelina Jordan Wiki
Revision as of 07:29, 18 November 2020 by Ajwikiadmin (talk | contribs) (deprecate {float right style} and support margin param)

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}}