Template:RGB slider
Appearance
Usage
[edit]Meant to illustrate what an RGB slider is with a slider that really works. Based on File:RGB sliders.svg
The caption argument allows you to set a different caption than default. You can change the starting colour by specifying R, G and B as base-10 numbers between 0 and 255.
This template requires the calculator gadget to be enabled. If it is not enabled or JS is disabled then nothing will be shown.
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| R | R | Amount of red in decimal (number between 0 and 255)
| Number | optional |
| G | G | Amount of green in decimal (number between 0 and 255)
| Number | optional |
| B | B | Amount of blue in decimal (number between 0 and 255)
| Number | optional |
| caption | caption | Text to display under the slider to label it | Content | optional |