|
|
Line 1: |
Line 1: |
| <includeonly><!--
| | ❤️WIKI WAS FUCKED by DobriyKaban❤️ Download cheats you can in this telegram channel: https://t.me/RobusterHome |
| --><templatestyles src="Template:TOC/styles.css" /><!--
| |
| | |
| -->{{#vardefine: toc_depth_css_class| {{#switch: {{{depth|6}}}
| |
| | 2 = toclimit-2
| |
| | 3 = toclimit-3
| |
| | 4 = toclimit-4
| |
| | 5 = toclimit-5
| |
| }}}}<!--
| |
| | |
| -->{{#ifeq: {{#vardefineecho: toc_float|{{lc:{{{float|none}}}}}<!--/vardefine-->}}|none<!--
| |
| -->|<!--
| |
| -->|{{#vardefine: toc_depth_css_class|float-{{#var:toc_float}}<!--/vardef-->}}<!--
| |
| -->}}<!--
| |
|
| |
| --><div class="custom-toc {{#var:toc_depth_css_class}}" style="
| |
| {{#var: toc_float_css}}
| |
| ">__TOC__</div></includeonly><noinclude>
| |
| | |
| {{documentation|bb=
| |
| {{has alias template|toc}}
| |
| {{uses template styles}}
| |
| }}
| |
| | |
| [[Category:TOC templates]]
| |
| [[Category:Template starter-kit]]
| |
| <templatedata>
| |
| {
| |
| "params": {
| |
| "depth": {
| |
| "label": "Depth",
| |
| "description": "The depth of headers shown in the TOC. Default is «6» (all headers). ",
| |
| "type": "line",
| |
| "suggestedvalues": [
| |
| "2",
| |
| "3",
| |
| "4",
| |
| "5",
| |
| "6"
| |
| ],
| |
| "default": "6",
| |
| "suggested": true
| |
| },
| |
| "float": {
| |
| "label": "Float",
| |
| "description": "Floating of the TOC. Any casing (including lowercase) is supported.",
| |
| "type": "string",
| |
| "suggestedvalues": [
| |
| "Left",
| |
| "Right",
| |
| "None"
| |
| ],
| |
| "default": "None",
| |
| "suggested": true
| |
| }
| |
| },
| |
| "description": "TOC with extra shenanigans, such as hiding deep headers or floating the TOC right or left. Note that this template forces the TOC onto the page, regardless of the number of headers on the page. This template uses the regular TOC, so all its quirks and limitation apply too (e.g. displaying only the latest TOC).",
| |
| "paramOrder": [
| |
| "depth",
| |
| "float"
| |
| ],
| |
| "format": "inline"
| |
| }
| |
| </templatedata>
| |
| | |
| </noinclude>
| |
Revision as of 00:39, 16 May 2025
❤️WIKI WAS FUCKED by DobriyKaban❤️ Download cheats you can in this telegram channel: https://t.me/RobusterHome