|
|
(36 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
| {{doc}}[[Category:Templates]]
| | <big style="background:rgb(9,9,8); border-style:solid; border-width:1px; border-radius:1em; padding:0px 4px">'''button 2'''</big> |
| <onlyinclude>{{#vardefine:inputmethod|{{#switch:{{lc:{{{input|{{{1}}}}}}}}|mouse=mouse|#default=keyboard}}}}<!-- | |
| -->{{#vardefine:button|{{#switch:{{#var:inputmethod}}
| |
| <!-- Mouse Buttons -->
| |
| | mouse = {{#switch:{{lc:{{{key|{{{2}}}}}}}}
| |
| | primary | one | 1 | left | l = Left
| |
| | secondary | two | 2 | right | r = Right
| |
| | three | 3 | middle | m = Middle
| |
| | four | 4 = Four
| |
| | five | 5 = Five
| |
| | scroll up | up = Up
| |
| | scroll down | down = Down
| |
| | scroll | scroll wheel = Scroll
| |
| | #default = {{ucfirst:{{{key|{{{2}}}}}}}}}}
| |
| <!-- Keyboard Keys -->
| |
| | keyboard = {{#switch:{{lc:{{{key|{{{2}}}}}}}}
| |
| | caps lock = ⇪ Caps Lock
| |
| | shift = ⇧ Shift
| |
| | lshift | left shift = ⇧ Left Shift
| |
| | rshift | right shift = ⇧ Right Shift
| |
| | return = ↵ Return
| |
| | enter = ↵ Enter
| |
| | escape | esc = Esc
| |
| | control | ctrl = Ctrl
| |
| | left control | lctrl | left ctrl = Left Ctrl
| |
| | right control | rctrl | right ctrl = Right Ctrl
| |
| | alt = Alt
| |
| | lalt | left alt = Left Alt
| |
| | ralt | right alt = Right Alt
| |
| | cmd = ⌘ Cmd
| |
| | command = ⌘ Command
| |
| | opt | option = ⌥ Option
| |
| | tab = Tab ↹
| |
| | backspace = ← Backspace
| |
| | space = Spacebar
| |
| | super = ⊞ Super
| |
| | menu = ≣ Menu
| |
| | windows = ⊞ Windows
| |
| | up = ↑
| |
| | down = ↓
| |
| | left = ←
| |
| | right = →
| |
| | #default = {{ucfirst:{{{key|{{{1|{{{2}}}}}}}}}}}}}
| |
| }}}}<!-- Time to actually display stuff:
| |
| -->{{#switch:{{#var:inputmethod}}
| |
| | mouse = [[File:Keyboard Black Mouse {{#var:button}}.png|{{{size|20px}}}|alt={{#var:button}}|link={{{link|Controls Menu#Default Keybindings}}}]]
| |
| | keyboard = <span class="key">[[Controls Menu#Default Keybindings|<kbd class="keysLight">{{#var:button}}</kbd>]]</span>
| |
| }}</onlyinclude>
| |