Template:TOC: Difference between revisions
From Handhelds Wiki
Jump to navigationJump to search
HandheldWiki (talk | contribs) No edit summary |
HandheldWiki (talk | contribs) No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
< | <onlyinclude> | ||
<div class="custom-toc | <templatestyles src="Template:TOC/styles.css" /> | ||
<div class="custom-toc limit-{{{limit|3}}}"> | |||
__TOC__ | __TOC__ | ||
</div> | </div> | ||
</onlyinclude> | |||
<noinclude> | <noinclude> | ||
This template | This template generates a dynamic Table of Contents with a limit for the depth of the TOC. | ||
Usage: `{{TOC|limit=3}}` | Usage: `{{TOC|limit=3}}` | ||
Supported limits: 2, 3, 4 | Supported limits: 1, 2, 3, 4 | ||
</noinclude> | </noinclude> | ||
Latest revision as of 18:07, 10 May 2025
This template generates a dynamic Table of Contents with a limit for the depth of the TOC. Usage: `
` Supported limits: 1, 2, 3, 4