Difference between revisions of "User:CreativeHedgehog/Templates/ToggleSwitch"
(Created page with "<noinclude><nowiki>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)}}</nowiki></...") |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude> | + | <noinclude> |
+ | {{User:CreativeHedgehog/Templates/Navbar||||||||20px}} | ||
+ | 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}}};"> | ||
Line 10: | Line 18: | ||
</p> | </p> | ||
</div> | </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: | ||
{{User:CreativeHedgehog/Templates/ToggleSwitch|yes|100|#1b3650|#aaaaaa}} | {{User:CreativeHedgehog/Templates/ToggleSwitch|yes|100|#1b3650|#aaaaaa}} | ||
+ | |||
+ | It is very important to put no space between them. | ||
</noinclude> | </noinclude> |
Latest revision as of 14:03, 27 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.