Template:Collapse

From Funky Station

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

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

|Template:Error |

}} about template documentation
{{#vardefine: below_banner|Template:Uses template styles}}{{#if: {{#var:below_banner}}|Template:Uses template styles|}}

Template:Collapse/doc

<templatedata> { "params": { "1": { "label": "Content", "description": "Content inside the box.", "type": "string", "required": true }, "collapsed": { "label": "Is collapsed by default?", "type": "boolean", "default": "1", "suggested": true }, "style": { "label": "Any custom styling", "example": "width: 10rem;", "type": "string", "suggested": true }, "button float": { "label": "Button float", "description": "Placement for the \"Expand/Collapse\" button using float.", "type": "string", "suggestedvalues": [ "left", "right", "none" ], "default": "none", "suggested": true } }, "description": "A template for creating collapsible blocks.", "paramOrder": [ "1", "collapsed", "style", "button float" ] } </templatedata>