Template:Tocright

From Angelina Jordan Wiki
Revision as of 07:40, 30 December 2020 by Dcljr (talk | contribs) (Undo revision 2507 by Dcljr (talk) -- nevermind… not in our CSS)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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