Difference between revisions of "Template:TOC limit"

Template page
 
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>
{{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.