Template:TOC limit

From Forsaken Saga Wiki
Revision as of 17:06, 21 June 2024 by 176.88.149.150 (talk) (Created page with "<includeonly><div class="toclimit-{{{1|{{{limit|3}}}}}}">__TOC__</div></includeonly><noinclude> This template inserts a Table of Contents which omits subheadings beyond a certain depth. The table obeys the same layout rules as the <nowiki>__TOC__</nowiki> magic word. Omitted sections still have section edit links in the article body; the main use for this template is situations where you want section edit links for ease of editing but don't want to clutter the table of...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


This template inserts a Table of Contents which omits subheadings beyond a certain depth. The table obeys the same layout rules as the __TOC__ magic word. Omitted sections still have section edit links in the article body; the main use for this template is situations where you want section edit links for ease of editing but don't want to clutter the table of contents.

Usage[edit source]

Place the below code at the top of the page, replace # with heading level you want.

 {{TOC limit|#}}

for example

 {{TOC limit|3}}

Alternatively you can use:

 {{TOC limit}}

which would assume the default level 3.


For additional info see full documentation of the original template w:Template:TOC_limit