Difference between revisions of "Template:TOC right"

From Mushpedia
Jump to: navigation, 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 (Adding a Usage block)
 
(One intermediate revision by one other 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>
+
<includeonly><onlyinclude><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></onlyinclude></includeonly>
{{documentation}}
+
Use this template to display the '''Table of Contents''' floating on the right side of the screen, taking it out of the article flow.
</noinclude>
+
 
 +
'''Usage'''
 +
<pre>{{TOC right}}</pre>
 +
 
 +
[[Category:Useful Templates]]

Latest revision as of 15:28, 22 December 2013

Use this template to display the Table of Contents floating on the right side of the screen, taking it out of the article flow.

Usage

{{TOC right}}