Template:TOC

From Funky Station


{{#vardefine: docpage_link|Template:TOC/doc}}

Template documentation
[[{{#var:docpage_link}}|view]] or edit this documentation {{#iferror: gray

|Template:Error |

}} about template documentation
{{#vardefine: below_banner|Template:Has alias template

Template:Uses template styles}}{{#if: {{#var:below_banner}}|Template:Has alias template

Template:Uses template styles|}}

Template:TOC/doc

<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>