Template:Tocright/doc

From Angelina Jordan Wiki
Revision as of 03:42, 1 November 2025 by Dcljr (talk | contribs) (use {tc}, etc., and + Examples)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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}}