No edit summary Tag: 2017 source edit |
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}} {{#ifeq:{{{inline|}}}|1|inline|}} {{#ifeq:{{{fontlarge|}}}|1|fontlarge}}">__TOC__</div></includeonly><noinclude> | ||
<templatedata> | <templatedata> | ||
{ | { |
Latest revision as of 12:40, 17 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
| Boolean | suggested |
No title | notitle | Removes the heading
| Boolean | suggested |
No border | noborder | Removes the border
| Boolean | suggested |
Larger font size | fontlarge | Sets size to match the regular content size
| Boolean | suggested |
Display inline | inline | Aligns items in one row (only possible if limit is set to 1)
| Boolean | suggested |