Template:Sliding right TOC

From Wikiversity
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]


Usage[edit source]

places a TOC on the right that sticks to the top of the screen as the rest of the page scrolls down. Useful for long pages where readers may wish to frequently refer back to the TOC. If there are too many headings to fit on the screen, the TOC will also have its own scroll bar.

It is only shown on the desktop version of the site, and disappears on mobile devices.

{{Sliding_right_TOC
 | width = width right hand of TOC panel (default = 350px)
 | toclimit = number of subheading levels to show (default=3)
}}