Difference between revisions of "Template:TOC right"

From Mushpedia
Jump to: navigation, search
m (Adding a Usage block)
 
Line 1: Line 1:
 
<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>
 
<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>
 
Use this template to display the '''Table of Contents''' floating on the right side of the screen, taking it out of the article flow.
 
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'''
 +
<pre>{{TOC right}}</pre>
  
 
[[Category:Useful Templates]]
 
[[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}}