Template:TOCright: Difference between revisions

From HorizonXI Wiki
(Created page with "{| cellspacing="0" cellpadding="0" style="clear: {{{clear|right}}}; margin-bottom: .5em; float: right; padding: .5em 0 .8em 1.4em; background: none; width: {{{width|{{{1|auto}}}}}};" | <div style="border-width:thin;border-style:solid;">__TOC__</div> |}<noinclude>{{PAGENAME}}</noinclude>")
Tag: visualeditor-wikitext
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{| cellspacing="0" cellpadding="0" style="clear: {{{clear|right}}}; margin-bottom: .5em; float: right; padding: .5em 0 .8em 1.4em; background: none; width: {{{width|{{{1|auto}}}}}};"
<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>
| <div style="border-width:thin;border-style:solid;">__TOC__</div>
{{Tocright/doc}}</noinclude>
|}<noinclude>[[Category:Templates|{{PAGENAME}}]]</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.