Template:Key press:修订间差异

(创建页面,内容为“<kbd style="border: 1px solid #aaa; border-radius: 2px; box-shadow: 1px 2px 2px #ddd; background-color: #f9f9f9; background-image: linear-gradient(top, #eee, #f9f9f9…”)
 
无编辑摘要
第1行: 第1行:
<kbd style="border: 1px solid #aaa; border-radius: 2px; box-shadow: 1px 2px 2px #ddd; background-color: #f9f9f9; background-image: linear-gradient(top, #eee, #f9f9f9, #eee); padding: 1px 3px; font-family: inherit; font-size: 0.85em;">{{#switch:{{{1}}}
<kbd style="border: 1px solid #aaa; border-radius: 2px; box-shadow: 1px 2px 2px #ddd; background-color: #BBBBBB; background-image: linear-gradient(top, #eee, #BBBBBB, #eee); padding: 1px 3px; font-family: inherit; font-size: 0.85em;">{{#switch:{{{1}}}
|Enter|enter|ent|Ent=&#8629;&nbsp;Enter
|Enter|enter|ent|Ent=&#8629;&nbsp;Enter
|Ctrl|ctrl|control=^Ctrl
|Ctrl|ctrl|control=^Ctrl

2020年5月13日 (三) 20:33的版本

{{{1}}}

Used for keyboard shortcuts.

Example:

{{key press|A}}

A

Special keys

Key press Usage Render Notes
Enter Enter, enter, Ent, ent ↵ Enter
Ctrl Ctrl, ctrl, control ^Ctrl
Space Bar Space, space ␣ Space
Home home, Home 🏠 Home Does not always render correctly, depending on the browser and installed fonts
Escape Esc, esc, Escape, escape ←Esc
Tab tab, Tab ⇆Tab
Maj LockMaj, Maj, maj 🔒Maj Does not always render correctly, depending on the browser and installed fonts
Shift shift, Shift ⇧Shift
Delete del, Del, suppr, Suppr, delete, Delete Delete
Back back, Back ←    
Numpad 1, 2, 3, 4, 5, 6, 7, 8, 9, 0 and second parameter numpad or NumPad NumPad 1 needs both parameters. If only first, renders normaly