Template:Show
Appearance
Usage
To ensure the buttons "glue" to the end of the text, you must provide a unique id if using this more than once on a single page.
{{show
|id=bio1
|compact=yes
|text=This is a very long text that will span multiple lines. When it expands, the "less" button will stay right here at the end.
}}
Parameters
- id: (Required if multiple on one page) A unique name like "1", "2", "bio", etc.
- text: The content.
- expandtext: Defaults to "more ▾".
- collapsetext: Defaults to "less ▴".
- state: Set to "expanded" to show by default.