m (1 revision imported) |
No edit summary Tag: 2017 source edit |
||
Line 1: | Line 1: | ||
<includeonly><templatestyles src="TOClimit/styles.css" /> | <includeonly><templatestyles src="TOClimit/styles.css" /> | ||
<div class="customtoc {{#if:{{{limit|}}}|toclimit-{{{limit|}}}}} {{#ifeq:{{{nonum|}}}|1|nonum}} {{#ifeq:{{{notitle|}}}|1|notitle}} {{#ifeq:{{{noborder|}}}|1|noborder}} | <div class="customtoc {{#if:{{{limit|}}}|toclimit-{{{limit|}}}}} {{#ifeq:{{{nonum|}}}|1|nonum}} {{#ifeq:{{{notitle|}}}|1|notitle}} {{#ifeq:{{{noborder|}}}|1|noborder}} {{#if:{{{inline|}}}|inline|}} {{#ifeq:{{{fontlarge|}}}|1|fontlarge}}">__TOC__</div></includeonly><noinclude> | ||
<templatedata> | <templatedata> | ||
{ | { |
Revision as of 07:34, 16 August 2023
Customized TOC
Parameter | Description | Type | Status | |
---|---|---|---|---|
limit | limit | Limits heading levels (up to level 4). If value is 2, the TOC is 2 levels deep
| Unknown | required |
No numbering | nonum | Removes numbering when set to 1 | Unknown | suggested |
No title | notitle | Removes title when set to 1 | Unknown | suggested |
No border | noborder | Removes border when set to 1 | Unknown | suggested |
Larger font size | fontlarge | Sets size to match regular content size | Unknown | suggested |