m (moved Template:TOCright to Template:Tocright: all lower case. (saves trying to remember whether R is capitalized, for example))
(update to the latest wikipedia:Template:TOC right code that recognizes the TOC depth limit code in MediaWiki:Common.css)
Line 1: Line 1:
{| cellspacing="0" cellpadding="0" style="clear:right; margin-bottom: .5em; float: right; padding: .5em 0 .8em 1.4em; background: none; width: {{{1|auto}}};"
{| 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__
|}<noinclude>
|}<noinclude>
----
{{documentation}}
==Usage==
<!-- Add categories to the /doc subpage, not here! -->
 
Used to insert a table of contents aligned to the right side of the page. Unlike <nowiki>__TOCRIGHT__</nowiki>, this lets you choose where the table is displayed.
 
Taken from [[Wikipedia:Template:TOCright]]
 
 
[[Category:Format templates]]
</noinclude>
</noinclude>

Revision as of 21:35, 6 February 2011

Template documentation

Create

Cookies help us deliver our services. By using our services, you agree to our use of cookies.