Difference between revisions of "Template:TOC"

(Created page with "<div class="stactictoc" style="clear: {{{clear|both}}}; margin-bottom: .5em; float: {{{align|none}}}; {{#ifeq: {{lc:{{{align|}}}}} | right | margin-left:0.5em; | {{#ifeq: {{lc...")
 
m
Line 18: Line 18:
 
|width=
 
|width=
 
|clear=
 
|clear=
|}
+
}}
 
</pre>
 
</pre>
 
</noinclude>
 
</noinclude>

Revision as of 13:52, 4 January 2012


Template for show table of contents with the option to set limited level and alignment to left or right.

Parameters
  • align - "none" (default), "left" or "right"
  • limit - max. number of nested levels; if assigned, adds CSS class = "toclimit-<limit>"
  • width - "auto" (default) or width size in px
  • clear - "both" (default), "left" or "right"


{{TOC
|align=
|limit=
|width=
|clear=
}}