Even for a low-activity wiki, hosting & rendering many HQ image files takes significant resources and comes with high monthly server costs.
If you're able, please consider contributing to keep the site running to help support this independent, ad-free, fan-run site. Thank you!
Difference between revisions of "Template:Toclimit"
(Created page with "<div class="toclimit-{{{1|{{{limit|3}}}}}}">__TOC__</div>") |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <div class="toclimit-{{{1|{{{limit|3}}}}}}">__TOC__</div> | + | <div class="toclimit-{{{1|{{{limit|3}}}}}}">__TOC__</div><noinclude> |
+ | |||
+ | '''Usage:''' <code><nowiki>{{toclimit}}</nowiki></code> or <code><nowiki>{{toclimit|3}}</nowiki></code> | ||
+ | |||
+ | 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 contents. | ||
+ | |||
+ | The template defaults to including second and third-level headings, e.g. those numbered "1" and "1.1" in the TOC. (Note: The first-level heading on a page is, by default, the page title.) | ||
+ | [[Category:Templates]] | ||
+ | </noinclude> |
Latest revision as of 11:34, 25 June 2018
Usage: {{toclimit}}
or {{toclimit|3}}
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.
The template defaults to including second and third-level headings, e.g. those numbered "1" and "1.1" in the TOC. (Note: The first-level heading on a page is, by default, the page title.)