Template:TOC right

(Difference between revisions)
Jump to: navigation, search
(Usage)
Line 7: Line 7:
 
</noinclude>
 
</noinclude>
  
<span style="position: relative">
+
<div style="position: relative">
 
{| cellspacing="0" cellpadding="0" 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}}}"}}
 
{| cellspacing="0" cellpadding="0" 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__
 
| __TOC__
 
|}
 
|}
</span>
+
</div>
 
<noinclude>
 
<noinclude>
 
{{documentation}}
 
{{documentation}}
 
<!-- Add cats and interwikis to the /doc subpage, not here! -->
 
<!-- Add cats and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Revision as of 17:00, 5 June 2012

Usage

Copy following code into any wiki page. It simply pushes the Table of Content (TOC) to the right of the page and makes it floating.

{{TOC_right}}  


Contents

Template:Documentation

Personal tools
Namespaces
Variants
Actions
Navigation
Browse
Toolbox