Template:TOCright: Difference between revisions

From FreeCAD Documentation
(Changed category from Template/it to Template)
(This template inserts the magic word __TOC__ inside a <div> with float:right. Category:Template:Effect)
Line 1: Line 1:
<div style="clear:right; margin-bottom: .5em; float: right; padding: .5em 0 .8em 1.4em; background: none;">__TOC__</div><noinclude>[[Category:Template]]</noinclude>
<div style="clear:right; margin-bottom: .5em; float: right; padding: .5em 0 .8em 1.4em; background: none;">__TOC__</div><noinclude>

----

This template inserts the magic word <nowiki>__TOC__</nowiki> inside a <nowiki><div></nowiki> with <nowiki>float:right</nowiki>.

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.

[[Category:Template:Effect]]
</noinclude>

Revision as of 23:05, 7 December 2018


This template inserts the magic word __TOC__ inside a <div> with 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.