Difference between revisions of "Template:Toclimit/doc"

From EVE University Wiki
Jump to: navigation, search
m (Rewrite doc.)
m (Update doc.)
 
Line 1: Line 1:
 
; Description
 
; Description
 
: This limits the level of heading displayed in the table of contents(TOC).
 
: This limits the level of heading displayed in the table of contents(TOC).
 +
: Due to the way this template functions the TOC will be displayed at the position where this template is placed.
  
 
; Dependencies
 
; Dependencies
Line 10: Line 11:
 
:; Parameters
 
:; Parameters
 
::; limit : Number indicating the highest heading level to show in the table of contents. The lower, the fewer heading levels are shown. Note that in articles, the main level for headings starts at 2 (the article title is H1). Valid values 2 till 6. Defaults to 2.
 
::; limit : Number indicating the highest heading level to show in the table of contents. The lower, the fewer heading levels are shown. Note that in articles, the main level for headings starts at 2 (the article title is H1). Valid values 2 till 6. Defaults to 2.
 +
 +
; Related templates
 +
: {{T|Tocright}}
 
<!--
 
<!--
 
; Required CSS
 
; Required CSS

Latest revision as of 17:43, 28 May 2023

Description
This limits the level of heading displayed in the table of contents(TOC).
Due to the way this template functions the TOC will be displayed at the position where this template is placed.
Dependencies
Uses
{{TOC}}
Syntax
{{Toclimit|<limit>}}
Parameters
limit
Number indicating the highest heading level to show in the table of contents. The lower, the fewer heading levels are shown. Note that in articles, the main level for headings starts at 2 (the article title is H1). Valid values 2 till 6. Defaults to 2.
Related templates
{{Tocright}}