Template:TOCright: Difference between revisions

From HorizonXI Wiki
(Changed to be the same as {{Tocright}}. Don't want to delete the template as it might break it on who knows how many pages, but would like them to be uniform.)
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:400px;">__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>
{{Tocright/doc}}</noinclude>

Latest revision as of 20:58, 16 October 2023

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.