Template:TOCright: Difference between revisions
(Created sections to demonstrate the use) |
mNo edit summary |
||
Line 20: | Line 20: | ||
[[Category:Template:Effect]] |
[[Category:Template:Effect]] |
||
[[Category:Templates]] |
|||
</noinclude> |
</noinclude> |
Revision as of 13:17, 17 January 2020
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.