Difference between revisions of "Key"
From Sega Retro
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#vardefine:keycolour|{{#switch:{{uc:{{{1|}}}}} | <includeonly>{{#vardefine:keycolour|{{#switch:{{uc:{{{1|}}}}} | ||
+ | | ESC | ||
| F1 | | F1 | ||
| F2 | | F2 | ||
Line 26: | Line 27: | ||
| PAGE UP | | PAGE UP | ||
| PAGE DOWN | | PAGE DOWN | ||
+ | | NUMLOCK | ||
+ | | CAPSLOCK | ||
+ | | SCROLLLOCK | ||
+ | | PRINTSCREEN | ||
+ | | PAUSE | ||
+ | | HELP | ||
+ | | UNDO | ||
+ | | RESTORE | ||
| WINDOWS | | WINDOWS | ||
+ | | BREAK | ||
| COMMAND=D00000 | | COMMAND=D00000 | ||
| UP | | UP | ||
Line 39: | Line 49: | ||
| RIGHT=2080ff | | RIGHT=2080ff | ||
| #default=ffffff | | #default=ffffff | ||
− | }}}}{{#vardefine:text|{{#switch:{{uc:{{{1|}}}}} | + | }}}}{{#vardefine:weight|}}{{#vardefine:text|{{#switch:{{uc:{{{1|}}}}} |
− | | UP= | + | | UP=🡩 |
− | | DOWN= | + | | DOWN=🡫 |
− | | LEFT= | + | | LEFT=🡨 |
− | | RIGHT= | + | | RIGHT=🡪 |
| WIN | | WIN | ||
| WINDOWS=⊞ | | WINDOWS=⊞ | ||
| COMMAND=⌘ | | COMMAND=⌘ | ||
− | | #default={{{1|}}} | + | | #default={{{1|}}}{{#vardefine:weight|bold}} |
− | }}}}<span style="display: inline-block; background-color:#{{#var:keycolour}}; color:#{{#var:textcolour}}; min-width:15px; height=15px; text-align:center; font-size:12px; line-height:15px; box-shadow: 1px 1px #000; font-weight: | + | }}}}<span style="display: inline-block; background-color:#{{#var:keycolour}}; color:#{{#var:textcolour}}; min-width:15px; height=15px; text-align:center; font-size:12px; line-height:15px; box-shadow: 1px 1px #000; font-weight:{{#var:weight}}; vertical-align:middle;">{{#ifeq:{{#len:{{#var:text}}}}|1|{{#var:text}}| {{#var:text}} }}</span></includeonly><noinclude>Template for keyboard keys |
<pre>{{Key|A}}</pre> | <pre>{{Key|A}}</pre> | ||
{{Key|A}} | {{Key|A}} |
Latest revision as of 18:00, 22 May 2024
Template for keyboard keys
{{Key|A}}
A
Also some special cases:
Ctrl + Alt + Delete etc.
🡩 🡫 🡨 🡪 ⊞ ⌘
You might need to add more.