Difference between revisions of "Template:TOC limit"

Template page
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<templatestyles src="Template:TOC limit/styles.css" /><div class="toclimit-{{{1|{{{limit|3}}}}}}">__TOC__</div><noinclude>
<templatestyles src="Template:TOC limit/styles.css" /><div class="toclimit-{{{1|{{{limit|3}}}}}}">__TOC__</div><noinclude>
{{documentation}}
{{TOC limit|3}
* Add this to any article where you wish to limit the levels that will appear on the table of contents.
* Setting 1 would be no TOC at all, so don't use this.
* Setting 2 would be the first level headings only, etc.
</noinclude>
</noinclude>

Latest revision as of 02:06, 24 September 2021

{{TOC limit|3}

  • Add this to any article where you wish to limit the levels that will appear on the table of contents.
  • Setting 1 would be no TOC at all, so don't use this.
  • Setting 2 would be the first level headings only, etc.