Template:Tocright: Difference between revisions

From HorizonXI Wiki
No edit summary
 
No edit summary
 
Line 1: Line 1:
<includeonly><div style="float:right; clear:{{{clear|right}}}; margin-bottom:.5em; padding:.5em 0 .8em 1.4em; background:transparent; max-width:20em;">__TOC__</div></includeonly><noinclude>
<includeonly><div style="float:right; clear:{{{clear|right}}}; margin-bottom:.5em; padding:.5em 0 .8em 1.4em; background:transparent; max-width:400px;">__TOC__</div></includeonly><noinclude>
{{documentation}}</noinclude>
{{documentation}}</noinclude>

Latest revision as of 12:12, 8 September 2023

Template documentation
Note: portions of the template sample may not be visible without values provided.
View or edit this documentation. (About template documentation)
Editors can experiment in this template's sandbox and test case pages.
Description
{{tocright}} forces the auto-generated Table of Contents for an article to appear floated to the right side of the page, in order to improve article layout.