Controls – Template
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Add mouse scrollwheel, up, down and up and down) |
Lou Montana (talk | contribs) m (Text replacement - "XBox" to "Xbox") |
||
Line 26: | Line 26: | ||
|param1= ctrl1 | |param1= ctrl1 | ||
|descr1= first control - if {{hl|xbox}} or {{hl|playstation}} (case-insensitive), all the following keys will be | |descr1= first control - if {{hl|xbox}} or {{hl|playstation}} (case-insensitive), all the following keys will be Xbox- or PlayStation-stylised (see {{Template|Controls/Control}}) | ||
|param2= ctrl2 | |param2= ctrl2 |
Latest revision as of 07:47, 20 June 2023
Shows a key-styled keyboard shortcut and/or a mouse button. It also adds the page to the Controls template usage error category on usage error.
- Mouse button can be (case-insensitive):
- mouseL or LMB
- mouseL2 or LMB2
- mouseR or RMB
- mouseM or MMB
- mouseSW or MSW
- mouseSWU or MSWU
- mouseSWD or MSWD
- Keyboard key can be anything - the first letter will be capitalised, see {{Controls/Control}}.
This template is used on these pages.
Usage
{{Controls|ctrl1|ctrl2|ctrl3|ctrl4|ctrl5}}
- ctrl1: first control - if xbox or playstation (case-insensitive), all the following keys will be Xbox- or PlayStation-stylised (see {{Controls/Control}})
- ctrl2: (Optional) second control
- ctrl3: (Optional) third control
- ctrl4: (Optional) fourth control
- ctrl5: (Optional) fourth console control
Code | Result |
---|---|
{{Controls}} | -no controls defined- |
{{Controls|Ctrl}} | Ctrl |
{{Controls|Ctrl|LMB}} | Ctrl + |
{{Controls|Ctrl|Shift|T}} | Ctrl + ⇧ Shift + T |
{{Controls|Ctrl|Alt|Shift|T}} | Ctrl + Alt + ⇧ Shift + T |
{{Controls|Ctrl|Alt|Shift|T|U}} | Ctrl + Alt + ⇧ Shift + T |
{{Controls|Xbox|A|LT|start}} |
⇓ + ↖ + ⇻ |