Difference between revisions of "Template:TOCright"

From Sugar Labs
Jump to navigation Jump to search
(toclimit not working, currently)
m (test again)
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}}};" <!-- {{#if:{{{limit|}}}|class="toclimit-{{{limit}}}"}} (not working) -->
+
{| cellspacing="0" cellpadding="0" style="clear:right; margin-bottom: .5em; float: right; padding: .5em 0 .8em 1.4em; background: none; width: {{{1|auto}}};" {{#if:{{{limit|}}}|class="toclimit-{{{limit}}}"}}  
 
| __TOC__
 
| __TOC__
 
|}<noinclude>
 
|}<noinclude>

Revision as of 09:22, 8 November 2009

Table of Contents - right

  • This template can be used to wrap page text around a right-side table of contents box.
    To use it, enter this wiki markup code, {{TOCright}}, on the page where you want the table of contents box.
  • An alternate template, Template:TOCleft, is available if one wants to place the table of contents box on the left side of the page.