Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:TOC: Difference between revisions

Template page
Tungocman (talk | contribs)
No edit summary
Tungocman (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly><div style="clear: {{{clear|both}}}; margin-bottom: .5em; float: {{{align|none}}}; {{#ifeq: {{lc:{{{align|}}}}} | right | margin-left:0.5em; | {{#ifeq: {{lc:{{{align|}}}}} | left | margin-right:0.5em; | <!-- align=none --> }} }} width: {{{width|auto}}};" {{#if:{{{limit|}}}|class="toclimit-{{{limit|}}}"}}>__TOC__</div></includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>
<accesscontrol>Administrators,,Cem(ro),,Maysunshine(ro),,mod</accesscontrol>
<includeonly><div style="clear: {{{clear|both}}}; margin-bottom: .5em; float: {{{align|none}}}; {{#ifeq: {{lc:{{{align|}}}}} | right | margin-left:0.5em; | {{#ifeq: {{lc:{{{align|}}}}} | left | margin-right:0.5em; | <!-- align=none --> }} }} width: {{{width|auto}}};" {{#if:{{{limit|}}}|class="toclimit-{{{limit|}}}"}}>__TOC__</div></includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 05:32, 27 December 2011

<accesscontrol>Administrators,,Cem(ro),,Maysunshine(ro),,mod</accesscontrol>

Template:TOC

Template documentation
<accesscontrol>Administrators,,Cem(ro),,Maysunshine(ro),,mod</accesscontrol>

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 shoving levels; if assigned, adds CSS class = "toclimit-<limit>"
  • width - "auto" (default) or width size in px
  • clear - "both" (default), "left" or "right"