Difference between revisions of "Template:Key press"
From LFS Manual
Jump to navigationJump to searchm |
m |
||
(3 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
-->{{#if:{{{10|}}}|{{{chain ninth|{{{chain| + }}}}}}{{key press/core|{{{10}}}}}}}<!-- | -->{{#if:{{{10|}}}|{{{chain ninth|{{{chain| + }}}}}}{{key press/core|{{{10}}}}}}}<!-- | ||
-->{{#if:{{{11|}}}|[[Category:Wikipedia keypress template parameter needs fixing]]}}<noinclude> | -->{{#if:{{{11|}}}|[[Category:Wikipedia keypress template parameter needs fixing]]}}<noinclude> | ||
− | + | {{documentation}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 01:21, 3 December 2023
Template documentation
This template allows you to illustrate keyboard keystrokes or a combination of multiple simultaneous keystrokes.
Keystroke combinations
For keystroke combinations, just use extra parameters:
Markup | Renders as |
---|---|
{{key press|Ctrl|Shift|F}} |
Ctrl + ⇧ Shift + F |
Chaining
To illustrate keystrokes where all keys do not need to be pressed simultaneously, set "chain=" to omit multiple plus signs.
Markup | Renders as |
---|---|
{{key press|Alt|0}}{{key press|1|7|7|chain=}} |
Alt + 0177 |
Special characters
Special characters need to be entered as HTML entities:
Markup | Renders as |
---|---|
{{key press||}} {{key press|;}} {{key press|=}} |
| ; = |
or with aliases:
Markup | Renders as |
---|---|
{{key press|pipe}} {{key press|semicolon}} {{key press|equals}} {{key press|colon}} {{key press|asterisk}} {{key press|hash}} |
| ; = : * # |
Key symbols
Markup | Renders as |
---|---|
{{key press|Ctrl}} {{key press|Shift}} {{key press|Tab}} {{key press|Enter}} {{key press|Option}} {{key press|Opt}} {{key press|Command}} {{key press|Cmd}} {{key press|Caps Lock}} {{key press|Up}} {{key press|Down}} {{key press|Left}} {{key press|Right}} {{key press|Win}} {{key press|Menu}} |
Ctrl ⇧ Shift Tab ↹ ↵ Enter ⌥ Option ⌥ Opt ⌘ Command ⌘ Cmd ⇪ Caps Lock ↑ ↓ ← → ⊞ Win ≣ Menu |
Mouse buttons
Markup | Renders as |
---|---|
{{key press|LMB}} {{key press|RMB}} {{key press|MMB}} {{key press|left mouse button}} {{key press|right mouse button}} {{key press|scroll wheel}} |
LMB RMB MMB LMB RMB MMB |