Template:Show
Usage
A simple collapsible block for hiding/showing content.
{{show
|text=The primary driver for the acquisition was the target's proprietary AI technology.
}}
Custom Labels
To change the "more" and "less" buttons:
{{show
|expandtext=Read Bio
|collapsetext=Close
|text=John Doe has been the CEO since 2010...
}}
Parameters
- text: The content to be hidden/shown.
- expandtext: The text for the "show" link (Defaults to "more ▾").
- collapsetext: The text for the "hide" link (Defaults to "less ▴").
- state: Set to "expanded" to have the text visible on page load.
- style: Pass additional CSS styles directly to the container.