Template:TOC right

From UIT
(Difference between revisions)
Jump to: navigation, search
m
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>
+
{| 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}}}"}}
== 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.
+
 
+
<pre><nowiki>{{TOC_right}} </nowiki> </pre>
+
 
+
</noinclude>
+
 
+
{| 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}}}}}};position: fixed;top: 100px;right: 0;" {{#if:{{{limit|}}}|class="toclimit-{{{limit}}}"}}
+
 
| __TOC__
 
| __TOC__
|}<noinclude>
+
|}
{{documentation}}
+
<!-- Add cats and interwikis to the /doc subpage, not here! -->
+
</noinclude>
+

Latest revision as of 15:21, 26 September 2012

Personal tools
Namespaces
Variants
Actions
Navigation
Browse
Toolbox