Zelda Wiki

Want to contribute to this wiki?
Sign up for an account, and get started!

Come join the Zelda Wiki community Discord server!

READ MORE

Zelda Wiki
Advertisement

Usage

This template inserts a table of contents that limits subheadings lower than a certain level. This helps keep the table of contents short and no cluttered. To use it, type:

    {{TOC limit|Limit (Optional) }}

  • Limit — The maximum subheading level to display. Default is 3


For example, {{TOC limit|3}} allows headings with =, == and ===, but nothing further, like =====. This can be seen below:

Template:ShowExampleTemplate:Show

Header 1

Header 2

Header 2.1

Header 2.1.2 (Not displayed in the TOC)

Header 2.1.2 (Not displayed in the TOC)

Header 2.1.2.1 (Not displayed in the TOC)

Header 2.2

Header 3

Template:Show

Template:Cat

Advertisement