Jump to content

Do not begin to migrate content here, it may be wiped without notice. More info.

Template:TOC

From Debian Wiki
Revision as of 19:51, 21 February 2026 by AndrewSayers (talk | contribs) (Created page with "<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> <templatedata> { "description": "Table of Contents", "params": { "SectionNumbers": { "type": "boolean...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
<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

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
SectionNumbersSectionNumbers

Use a numbered list

Default
true
Booleanoptional
MinMin

Ignore TOC items above this level

Numberoptional
LimitLimit

Ignore TOC items below this level

Numberoptional