Controls/Control – Template
Jump to navigation
Jump to search
Displays a keyboard key or a mouse icon — used by {{Controls}}. It also adds the page to the Controls template usage error category on usage error.
This template is used on these pages.
Usage
{{Controls/Control|control}}
- control: can be one of (case-insensitive for mouse icons):
- mouseL or LMB
- mouseL2 or LMB2
- mouseR or RMB
- mouseM or MMB
- anything else for a keyboard key - the first letter will be capitalised (e.g ctrL will become CtrL)
Code | Result |
---|---|
{{Controls/Control}} | -no key defined- |
{{Controls/Control|ctrl}} | Ctrl |
{{Controls/Control|Ctrl}} | Ctrl |
{{Controls/Control|a}} | A |
{{Controls/Control|LMB}} |