Template:Tocright

From AddOn Studio
Revision as of 02:10, 16 December 2020 by Bear (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Causes the page Table of Contents, TOC, to be positioned to the right on wiki pages. Use this at, or near, the top of a page to position the TOC to the right. See also {{toc}}.

Usage
  • clear - Optional CSS 'clear' setting for the outer float container. Default is 'right'.
  • width - Optional outer box width (especially good for crazy long section names). Default is 'inherit'.
Examples

{{tocright}} - floats TOC to right side and clears right

{{tocright|width=30%}} - floats TOC to right side, clears right, and restricts TOC max-width to 30% of content width


Template