Difference between revisions of "User:CreativeHedgehog/Templates/ToggleSwitch"
Line 19: | Line 19: | ||
<div id="marginhack" style="margin-bottom:250px;"></div> | <div id="marginhack" style="margin-bottom:250px;"></div> | ||
</div> | </div> | ||
− | <noinclude>< | + | <noinclude><div style="font-family:monospace; background-color:grey; color:darkgrey; padding:15px;"> |
+ | <nowiki>{{User:CreativeHedgehog/Templates/ToggleSwitch|yes|100|#1b3650|#aaaaaa}}</nowiki> | ||
+ | |||
+ | </div> | ||
gives this: | gives this: | ||
Revision as of 14:31, 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.