Difference between revisions of "Template:HiddenToggle/Button"
From Drawn to Life Wiki
(Documentation) |
|||
| Line 50: | Line 50: | ||
} | } | ||
}, | }, | ||
| − | "description": "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.", | + | "description": "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.", |
"format": "inline" | "format": "inline" | ||
} | } | ||
</templatedata> | </templatedata> | ||
Revision as of 23:33, 30 June 2022
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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Databox color | boxcolor | When a valid RGB hex is input, the box will match the color
| Content | optional |
| Controller ID | ID | The ID of the HiddenToggle template. The ID can be any value, but the values of the paired templates MUST match verbatim.
| String | required |
| Button Title | Title | The title to display on the clickable button.
| Content | suggested |