Template:Tocright: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
(Created page with "<div style="float:right; clear:{{{clear|right}}}; margin-bottom:.5em; padding:.5em 0 .8em 1.4em; background:transparent; max-width:20em;"><span class="toclimit-{{{1|{{{limit|5...")
 
No edit summary
 
Line 1: Line 1:
<div style="float:right; clear:{{{clear|right}}}; margin-bottom:.5em; padding:.5em 0 .8em 1.4em; background:transparent; max-width:20em;"><span class="toclimit-{{{1|{{{limit|5}}}}}}">__TOC__</span></div><noinclude>
<div style="float:right; clear:{{{clear|right}}}; margin-bottom:.5em; padding:.5em 0 .8em 1.4em; background:transparent; max-width:20em;"><!--<span class="toclimit-{{{1|{{{limit|5}}}}}}">-->__TOC__<!--</span>--></div><noinclude>
{{documentation}}</noinclude>
{{documentation}}</noinclude>

Latest revision as of 18:35, 24 June 2020

Template documentation (for the above template, sometimes hidden or invisible)
Description
This template will float the article's table of contents to the right. It will also force a ToC when/where it would not normally be found.
Use it only when needed.
Syntax
Type {{tocright}}

Visit Template:Tocright/doc to edit this text! (How does this work?)