Difference between revisions of "Template:Documentation"

From Catglobe Wiki
Jump to: navigation, search
Line 1: Line 1:
<div><div style="padding-bottom: 5px; border-bottom: 1px solid #aaa; font-weight: bold;">
+
Template for show table of contents with the option to set limited level and alignment to left or right.
[[File:TemplateDocumentation-Logo.png|50px|alt=|middle]] <span style="font-size:125%;">Template documentation</span></div>
 
<div style="padding-top: 15px;">Template for show table of contents with the option to set limited level and alignment to left or right.
 
  
 
;Parameters
 
;Parameters
Line 7: Line 5:
 
* ''limit'' - max. number of shoving levels; if assigned, adds CSS class = "toclimit-<limit>"
 
* ''limit'' - max. number of shoving levels; if assigned, adds CSS class = "toclimit-<limit>"
 
* ''width'' - "auto" (default) or width size in px
 
* ''width'' - "auto" (default) or width size in px
* ''clear'' - "both" (default), "left" or "right"</div>
+
* ''clear'' - "both" (default), "left" or "right"
</div>
 

Revision as of 06:53, 26 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"