Template

Difference between revisions of "RightTOC"

From Joomla! Documentation

(trying new RightTOC markup)
m (adding a parameter)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| 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}}}"}}
+
<div style="position:relative; z-index:10; float:right; margin:0 0 1em 1em; max-width:{{{1|100%}}};"> __TOC__</div><noinclude>
| __TOC__
 
|}<noinclude>
 
 
== Usage ==
 
== Usage ==
 
This template lets the table of contents float right. Use this on pages with many subsections.
 
This template lets the table of contents float right. Use this on pages with many subsections.
 
{{wikipedia template|{{FULLPAGENAME}}}}
 
{{wikipedia template|{{FULLPAGENAME}}}}
 
</noinclude>
 
</noinclude>

Latest revision as of 08:51, 13 July 2013

Usage[edit]

This template lets the table of contents float right. Use this on pages with many subsections.


Template:RightTOC is based on: Wikipedia:Template:RightTOC (edit|talk|history|links|watch|logs)