Difference between revisions of "Key"
From Sega Retro
Line 25: | Line 25: | ||
| END | | END | ||
| PAGE UP | | PAGE UP | ||
− | | PAGE DOWN=D00000 | + | | PAGE DOWN |
+ | | WINDOWS | ||
+ | | COMMAND=D00000 | ||
+ | | UP | ||
+ | | DOWN | ||
+ | | LEFT | ||
+ | | RIGHT=FFFFFF | ||
| #default=2080ff | | #default=2080ff | ||
− | }}}}<span style="display: inline-block; background-color:#{{#var:keycolour}}; color:# | + | }}}}{{#vardefine:textcolour|{{#switch:{{uc:{{{1|}}}}} |
+ | | UP | ||
+ | | DOWN | ||
+ | | LEFT | ||
+ | | RIGHT=2080ff | ||
+ | | #default=ffffff | ||
+ | }}}}{{#vardefine:text|{{#switch:{{uc:{{{1|}}}}} | ||
+ | | UP=↑ | ||
+ | | DOWN=↓ | ||
+ | | LEFT=← | ||
+ | | RIGHT=→ | ||
+ | | WIN | ||
+ | | WINDOWS=⊞ | ||
+ | | COMMAND=⌘ | ||
+ | | #default={{{1|}}} | ||
+ | }}}}<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:bold; vertical-align:middle;"> {{#var:text}} </span></includeonly><noinclude>Template for keyboard keys | ||
<pre>{{Key|A}}</pre> | <pre>{{Key|A}}</pre> | ||
{{Key|A}} | {{Key|A}} | ||
Line 34: | Line 55: | ||
{{Key|Ctrl}} + {{Key|Alt}} + {{Key|Delete}} etc. | {{Key|Ctrl}} + {{Key|Alt}} + {{Key|Delete}} etc. | ||
+ | |||
+ | {{Key|up}} {{Key|down}} {{Key|left}} {{Key|right}} {{Key|windows}} {{Key|command}} | ||
You might need to add more. | You might need to add more. | ||
[[Category:Button templates]]</noinclude> | [[Category:Button templates]]</noinclude> |
Revision as of 12:51, 21 September 2021
Template for keyboard keys
{{Key|A}}
A
Also some special cases:
Ctrl + Alt + Delete etc.
↑ ↓ ← → ⊞ ⌘
You might need to add more.