Difference between revisions of "User:CreativeHedgehog/Templates/ToggleSwitch"
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>Here is a page of a switch. It's very easy to use, just put | + | <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;"> | <div style="font-family:monospace; background-color:grey; color:darkgrey; padding:15px;"> | ||
Line 19: | Line 21: | ||
<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: | ||
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.