Template:TOCright: Difference between revisions
(Created sections to demonstrate the use) |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 20: | Line 20: | ||
[[Category:Template:Effect]] |
[[Category:Template:Effect]] |
||
[[Category:Template]] |
|||
</noinclude> |
</noinclude> |
Latest revision as of 13:18, 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.