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..."
 
No edit summary
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>

Revision as of 23:57, 3 December 2015

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.