Template:Tocright: Difference between revisions

From BoyWiki
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
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;">__TOC__</div>
<templatestyles src="Template:TOC_right/styles.css" />{{#if:{{{limit|}}}|<templatestyles src="Template:TOC limit/styles.css" />}}<!--
<noinclude>
--><div class="tocright {{#if:{{{clear|}}}|tocright-clear-{{{clear|}}}}} {{#if:{{{limit|}}}|toclimit-{{{limit}}}}}" {{#if:{{{width|{{{1|}}}}}}|style="width: {{{width|{{{1}}}}}};"}}>__TOC__</div><noinclude>
{{Template:Pp-template}}
</noinclude>
<noinclude>
{{documentation}}  
{{documentation}}  
[[Category:General wiki templates]]
[[Category:General wiki templates]]
</noinclude>
</noinclude>

Latest revision as of 21:29, 30 June 2022

BoyWiki Template documentation (for the above template, sometimes hidden or invisible)

Description: This template will float the article's table of contents (ToC) to the right. It will also force a ToC to appear even if it would not normally appear. Use it only when needed.
Portal:General wiki templates

Visit Template:Tocright/doc to edit this template's description!
Done making changes?   Refresh   Also see:  Portal:Template index  and   Help:Templates