Difference between revisions of "Key"

From Sega Retro

Line 1: Line 1:
<div style="display:inline-block;">
+
<includeonly>{{#vardefine:keycolour|{{#switch:{{uc:{{{1|}}}}}
{|style="min-width:60px; max-width:60px;"
+
| F1
|style="text-align:center; padding:4px;" font-size:8pt;"|{{{label|}}}
+
| F2
|-
+
| F3
|style="text-align:center; padding:4px;"|
+
| F4
{|
+
| F5
|style="text-align:center; padding:0px;"|<div style="font-size:8pt; display:inline-block;">{{{3|}}}</div>&nbsp;&nbsp;&nbsp;<div style="font-size:7pt; display:inline-block;">{{{4|}}}</div>
+
| F6
|-
+
| F7
|style="text-align:center; padding:0px;"|<b><div style="font-size:14pt; display:inline-block;">{{{1|}}}</div>&nbsp;&nbsp;&nbsp;<div style="font-size:10pt; display:inline-block;">{{{2|}}}</div></b>
+
| F8
|}
+
| F9
|}
+
| F10
</div><noinclude>[[Category:Sega Retro templates]]
+
| F11
{{Key
+
| F12
|1
+
| SHIFT
|2
+
| CTRL
|3
+
| ALT
|4
+
| SPACE
|label=whoop
+
| ENTER
}}
+
| RETURN
</noinclude>
+
| BACKSPACE
 +
| TAB
 +
| INSERT
 +
| HOME
 +
| DELETE
 +
| END
 +
| PAGE UP
 +
| PAGE DOWN=D00000
 +
| #default=2080ff
 +
}}}}<span style="display: inline-block; background-color:#{{#var:keycolour}}; color:#FFFFFF; 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;">&nbsp;{{{1|}}}&nbsp;</span></includeonly><noinclude>Template for keyboard keys
 +
<pre>{{Key|A}}</pre>
 +
{{Key|A}}
 +
 
 +
Also some special cases:
 +
 
 +
{{Key|Ctrl}} + {{Key|Alt}} + {{Key|Delete}} etc.
 +
 
 +
You might need to add more.
 +
 
 +
[[Category:Button templates]]</noinclude>

Revision as of 07:00, 21 September 2021

Template for keyboard keys

{{Key|A}}

 A 

Also some special cases:

 Ctrl  +  Alt  +  Delete  etc.

You might need to add more.