Difference between revisions of "Template:HiddenToggle/Button"
From Drawn to Life Wiki
(noinclude) |
|||
| Line 24: | Line 24: | ||
align-items: center;" >{{{Title|{{{1|Click to toggle content}}}}}}</div> | align-items: center;" >{{{Title|{{{1|Click to toggle content}}}}}}</div> | ||
</div> | </div> | ||
| + | <noinclude> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
| Line 54: | Line 55: | ||
} | } | ||
</templatedata> | </templatedata> | ||
| + | </noinclude> | ||
Revision as of 23:43, 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 |