Template

Difference between revisions of "TOC/doc"

From LRDE

< Template:TOC
(Created page with "<noinclude>{{Documentation subpage}} {{timw|{{BASEPAGENAME}}}} </noinclude> Template for showing the table of contents, with the option to set limited level and alignment to l...")
 
 
Line 1: Line 1:
<noinclude>{{Documentation subpage}}
 
{{timw|{{BASEPAGENAME}}}}
 
</noinclude>
 
 
Template for showing the table of contents, with the option to set limited level and alignment to left or right.
 
Template for showing the table of contents, with the option to set limited level and alignment to left or right.
   
Line 9: Line 6:
 
* ''width'' - "auto" (default) or width size in px
 
* ''width'' - "auto" (default) or width size in px
 
* ''clear'' - "both" (default), "left" or "right"
 
* ''clear'' - "both" (default), "left" or "right"
 
;See also: [[Manual:Table of contents]]
 
{{Languages|Template:TOC/doc}}
 

Latest revision as of 17:43, 26 February 2014

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"