Difference between revisions of "Template:TOC/doc"

From Catglobe Wiki
Jump to: navigation, search
Line 1: Line 1:
{{Template:Documentation
 
|Template-Documentation =
 
 
Template for show table of contents with the option to set limited level and alignment to left or right.
 
Template for show table of contents with the option to set limited level and alignment to left or right.
  
Line 8: 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"
}}
 

Revision as of 06:31, 27 December 2011

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"