Template:Tocright: Difference between revisions

From Syra D&D Wiki
Jump to navigation Jump to search
Created page with "<div style="clear: {{{clear|right}}}; margin-bottom: .5em; float: right; padding: .5em 0 .8em 1.4em; background: none; width: {{{width|{{{1|auto}}}}}};" {{#if:{{{limit|}}}|cla..."
 
m 2 revisions imported
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<div style="clear: {{{clear|right}}}; margin-bottom: .5em; float: right; padding: .5em 0 .8em 1.4em; background: none; width: {{{width|{{{1|auto}}}}}};" {{#if:{{{limit|}}}|class="toclimit-{{{limit}}}"}}>__TOC__</div><noinclude>
<div style="clear: {{{clear|right}}}; margin-bottom: .5em; float: right; padding: .5em 0 .8em 1.4em; background: none; width: {{{width|{{{1|auto}}}}}};" {{#if:{{{limit|}}}|class="toclimit-{{{limit}}}"}}>__TOC__</div><noinclude>
{{documentation}}
{{documentation}}
<!-- Add cats and interwikis to the /doc subpage, not here! -->
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 02:47, 19 February 2026

This template 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.