Difference between revisions of "Template:Toclimit"

From EVE University Wiki
Jump to: navigation, search
(Changed page to a redirect to Template:TOC. That's the same way it's done in mediawiki: https://www.mediawiki.org/w/index.php?title=Template:Toclimit&redirect=no)
Tag: New redirect
m (Redirect did not work as intended.)
Tag: Removed redirect
Line 1: Line 1:
#REDIRECT [[Template:TOC]]
+
<includeonly>{{TOC|limit= {{{1|2}}}</includeonly>
 +
<noinclude>{{Documentation}}</noinclude>

Revision as of 17:11, 28 May 2023

Template documentation (for the above template, sometimes hidden or invisible)
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}}
Visit Template:Toclimit/doc to edit this text! (How does this work?) (Refresh this text - why?)