This template can be used to show toggle on and off switches.
Usage
editThis template shows an on/off toggle, with optional colors.
Parameters
edit1
- The first unnamed parameter is the status of the toggle:
on
oroff
color
- The template supports green, blue, and orange. Green is the default color.
link
- The button can be linked by this parameter.
Examples
editDefault colors
edit{{Toggle switch|on}}
renders as
{{Toggle switch|off}}
renders as
Color variations
edit{{Toggle switch|on|color=green}}
renders as
{{Toggle switch|on|color=orange}}
renders as
{{Toggle switch|on|color=blue}}
renders as