Template:TOC: Difference between revisions
Appearance
AndrewSayers (talk | contribs) No edit summary |
AndrewSayers (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
<pre><onlyinclude> | <pre><onlyinclude>{{#ifeq:{{SanitiseBoolean|{{{SectionNumbers|1}}}}}|0|<div class="noautonum">}}{{#if:{{{Min|}}}|<div class="tocmin-{{{Min}}}">}}{{#if:{{{Limit|}}}|<div class="toclimit-{{{Limit}}}">}} | ||
__TOC__ | |||
{{#if:{{{Limit|}}}|</div>}}{{#if:{{{Min|}}}|</div>}}{{#ifeq:{{SanitiseBoolean|{{{SectionNumbers|1}}}}}|0|</div>}} | |||
</onlyinclude></pre> | </onlyinclude></pre> | ||
Latest revision as of 19:53, 21 February 2026
<onlyinclude>{{#ifeq:{{SanitiseBoolean|{{{SectionNumbers|1}}}}}|0|<div class="noautonum">}}{{#if:{{{Min|}}}|<div class="tocmin-{{{Min}}}">}}{{#if:{{{Limit|}}}|<div class="toclimit-{{{Limit}}}">}}
__TOC__
{{#if:{{{Limit|}}}|</div>}}{{#if:{{{Min|}}}|</div>}}{{#ifeq:{{SanitiseBoolean|{{{SectionNumbers|1}}}}}|0|</div>}}
</onlyinclude>
Table of Contents
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| SectionNumbers | SectionNumbers | Use a numbered list
| Boolean | optional |
| Min | Min | Ignore TOC items above this level | Number | optional |
| Limit | Limit | Ignore TOC items below this level | Number | optional |