Template:TOC right: Difference between revisions

From Path of Exile 2 Wiki
Jump to navigation Jump to search
>Wynthyst
m (1 revision)
 
m (4 revisions imported)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>''This template will float the article table of contents to the right. Use it only when needed.'' [[Category:Formatting templates|{{PAGENAME}}]]
<includeonly><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></includeonly><noinclude>
</noinclude><div style="clear: {{{clear|right}}}; margin-bottom: .5em; float: right; padding: .5em 0 .8em 1.4em; background: transparent; max-width: 20em;">__TOC__</div>
{{documentation}}
<!-- Add cats and interwikis to the /doc subpage, not here! -->
</noinclude>

Latest revision as of 15:59, 23 September 2024

Template documentation[view] [edit] [history] [purge]


This template was adapted from Template:TOC right on Wikipedia.
Adaptation is noted for reference and attribution only. This template may differ from the original in function or in usage.

{{TOC right}} 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.