Template:HiddenToggle/Button

From Drawn to Life Wiki
Click to toggle content

This template acts as a user-controlled toggle for Template:HiddenToggle. These templates are intended to be used together, with this template serving as a method of toggling the state of content hidden with the aforementioned template. This template does nothing on its own.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Databox colorboxcolor

When a valid RGB hex is input, the box will match the color

Example
|boxcolor=#ff8682
Auto value
#5aa7e2
Contentoptional
Controller IDID

The ID of the HiddenToggle template. The ID can be any value, but the values of the paired templates MUST match verbatim.

Auto value
unset
Stringrequired
Button TitleTitle

The title to display on the clickable button.

Example
|Title=Click to reveal map
Auto value
Click to toggle content
Contentsuggested