m (1 revision imported) |
No edit summary Tag: 2017 source edit |
||
(4 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 11: | Line 11: | ||
"example": "2", | "example": "2", | ||
"default": "4", | "default": "4", | ||
"required": true | "required": true, | ||
"label": { | |||
"de": "Limit", | |||
"en": "Limit" | |||
} | |||
}, | }, | ||
"nonum": { | "nonum": { | ||
Line 19: | 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", | |||
"autovalue": "0" | |||
}, | }, | ||
"notitle": { | "notitle": { | ||
Line 30: | 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 41: | 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 52: | 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", | |||
"autovalue": "0" | |||
}, | |||
"inline": { | |||
"label": { | |||
"en": "Display inline", | |||
"de": "Inline" | |||
}, | |||
"description": { | |||
"en": "Aligns items in one row (only possible if limit is set to 1)", | |||
"de": "Stellt die Überschriften in einer Reihe da (nur möglich, wenn das Limit auf 1 gesetzt ist)" | |||
}, | |||
"type": "boolean", | |||
"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 |