Template:FloatingTOC: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly><div style="float:{{{side|right}}};margin:10px 10px 10px 10px{{#if:{{{maxwidth|}}}|;max-width:{{{maxwidth}}}px}}">__TOC__</div></includeonly><noinclude>{{document...") |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly><div style="float:{{{side|right}}};margin:10px 10px 10px | <includeonly><div style="float:{{{side|right}}};margin:10px 10px 10px 50px{{#if:{{{maxwidth|}}}|;max-width:{{{maxwidth}}}px}}">__TOC__</div></includeonly><noinclude>{{documentation}}</noinclude> |
Revision as of 16:43, 16 February 2015
Documentation
This template makes table of contents (TOC) of the affected page a floating element of the right side (by default).
You can specify the following variables:
- side: Specifies the side to pin the TOC to. Possible values: left, right
- maxwidth: Specifies the maximal TOC width in pixels.