Difference between revisions of "Template:TOCright"

From FreeCAD Documentation
Jump to: navigation, search
(Created sections to demonstrate the use)
m
Line 20: Line 20:
  
 
[[Category:Template:Effect]]
 
[[Category:Template:Effect]]
 +
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 14: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.

One

Sub

Two

Three

Something

Four