Template:TOCright: Difference between revisions

From SiteMaster Documentation
Jump to navigation Jump to search
enwiki>Admin
m (1 revision imported)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 10:50, 9 May 2026


This template inserts the magic word __TOC__ inside a <div> with style="float:right".

In this way the autogenerated table of contents appears floating on the right, which is useful to save space in a documentation page with a large list of sections.

{{TOCright}}

Some sections will be created to see this effect.

One

Sub

Two

Three

Something

Four