Difference between revisions of "User:CreativeHedgehog/Templates/ToggleSwitch"
Line 1: | Line 1: | ||
− | <noinclude | + | <noinclude>Here is a page of a switch. It's very easy to use, just put |
+ | <div style="font-family:monospace; background-color:grey; color:darkgrey; padding:15px;"> | ||
+ | |||
+ | <nowiki>{{User:CreativeHedgehog/Templates/ToggleSwitch| yes || no| (height in px) | (color)}}</nowiki> | ||
+ | |||
+ | </div> | ||
+ | </noinclude> | ||
<div id="variables-control-panel" style="--yes:right; --no:left; --yescolor:{{{4|#61ad00}}}; --nocolor:{{{4|#dedede}}};"> | <div id="variables-control-panel" style="--yes:right; --no:left; --yescolor:{{{4|#61ad00}}}; --nocolor:{{{4|#dedede}}};"> |
Revision as of 13:40, 25 July 2020
Here is a page of a switch. It's very easy to use, just put
{{User:CreativeHedgehog/Templates/ToggleSwitch| yes || no| (height in px) | (color)}}
H
{{User:CreativeHedgehog/Templates/ToggleSwitch|yes|100|#1b3650|#aaaaaa}}
gives this:
H
It is very important to put no space between them.