Template:CollapsibleText

From MetalStorm Wiki
Jump to navigation Jump to search

This template creates a short text button that, when clicked, expands a section below to display some additional text

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
button text1

The text to display in the clickable button

Stringrequired
expanded text2

The text to display when the element is expanded

Stringrequired

Example usage

{{CollapsibleText|Click me {{Icons|official links|metalstorm}}}}|Text with icons {{Icons|official links|metalstorm}}}}
Click me Metalstorm-icon.png

Text with icons Metalstorm-icon.png