No edit summary Tag: 2017 source edit |
No edit summary Tag: 2017 source edit |
||
(2 intermediate revisions by the same user not shown) | |||
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> | ||
{ | { | ||
Line 23: | Line 23: | ||
}, | }, | ||
"description": { | "description": { | ||
"en": "Removes numbering | "en": "Removes numbering", | ||
"de": "Nummerierung wird nicht angezeigt bei Wert 1" | "de": "Nummerierung wird nicht angezeigt bei Wert 1" | ||
}, | }, | ||
"suggested": true, | "suggested": true, | ||
"type": "boolean" | "type": "boolean", | ||
"autovalue": "0" | |||
}, | }, | ||
"notitle": { | "notitle": { | ||
Line 35: | Line 36: | ||
}, | }, | ||
"description": { | "description": { | ||
"en": "Removes | "en": "Removes the heading", | ||
"de": "Titel | "de": "Titel entfernen" | ||
}, | }, | ||
"suggested": true | "suggested": true, | ||
"type": "boolean", | |||
"autovalue": "0" | |||
}, | }, | ||
"noborder": { | "noborder": { | ||
Line 46: | Line 49: | ||
}, | }, | ||
"description": { | "description": { | ||
"en": "Removes border | "en": "Removes the border", | ||
"de": "Rahmen | "de": "Rahmen entfernen" | ||
}, | }, | ||
"suggested": true | "suggested": true, | ||
"type": "boolean", | |||
"autovalue": "0" | |||
}, | }, | ||
"fontlarge": { | "fontlarge": { | ||
Line 57: | Line 62: | ||
}, | }, | ||
"description": { | "description": { | ||
"en": "Sets size to match regular content size | "en": "Sets size to match the regular content size", | ||
"de": "Schriftgröße wird dem Seiteninhalt angepasst" | "de": "Schriftgröße wird dem Seiteninhalt angepasst" | ||
}, | }, | ||
"suggested": true, | "suggested": true, | ||
"type": "boolean" | "type": "boolean", | ||
"autovalue": "0" | |||
}, | }, | ||
"inline": { | "inline": { | ||
Line 73: | Line 79: | ||
}, | }, | ||
"type": "boolean", | "type": "boolean", | ||
"suggested": true | "suggested": true, | ||
"autovalue": "0" | |||
} | } | ||
}, | }, |
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 |