Template:TOC: Difference between revisions

From Halachipedia
No edit summary
 
No edit summary
Line 1: Line 1:
<div style="clear: {{{clear|both}}}; margin-bottom: .5em; float: {{{align|none}}}; {{#ifeq: {{lc:{{{align|}}}}} | right | margin-left:2.5em; | {{#ifeq: {{lc:{{{align|}}}}} | left | margin-right:2.5em; | <!-- align=none --> }} }} width: {{{width|auto}}};" {{#if:{{{limit|}}}|class="toclimit-{{{limit|}}}"}}>__TOC__</div><noinclude>
<div style="clear: {{{clear|both}}}; margin-bottom: .5em; float: {{{align|left}}}; {{#ifeq: {{lc:{{{align|}}}}} | right | margin-left:2.5em; | {{#ifeq: {{lc:{{{align|}}}}} | left | margin-right:2.5em; | <!-- align=none --> }} }} width: {{{width|auto}}};" {{#if:{{{limit|}}}|class="toclimit-{{{limit|}}}"}}>__TOC__</div><noinclude>
{{doc}}
{{doc}}
[[Category:Utility templates|{{PAGENAME}}]]
[[Category:Utility templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 17:20, 30 July 2012

[view] [edit] [history] [purge] File:Template-info.svg Template documentation

Template for showing the 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"
See also
Manual:Table of contents
Language: English