Template:Key press/doc:修订间差异

(创建页面,内容为“<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>[[en:{{FULLPAGENAME}}]] <!-- EDIT TEMPLAT…”)
 
(文本替换 - 替换“{{template doc page viewed directly}}</noinclude>”为“{{template doc page viewed directly}}</noinclude>[[en:{{FULLPAGENAME}}]]”)
 
第1行: 第1行:
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>[[en:{{FULLPAGENAME}}]]
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>[[en:{{FULLPAGENAME}}]][[en:{{FULLPAGENAME}}]]
    <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
    <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
Used for keyboard shortcuts.
Used for keyboard shortcuts.

2022年3月18日 (五) 14:24的最新版本

这是 Template:Key press模板文档
当直接浏览时,使用变量可能会失效,请不要使用硬编码来代替页面名或地址。

Used for keyboard shortcuts.

Example:

{{key press|A}}

A

Held modifier keys[编辑源代码]

Modifier Usage Render Notes
Ctrl Ctrl, ctrl, Control, control ^Ctrl
Command Cmd, cmd, Command, command ⌘Command
Shift Shift, shift ⇧Shift
Alt Alt, alt Alt
Option Option, option, Opt, opt ⌥Option OS X equivalent of Alt

Special keys[编辑源代码]

Key press Usage Render Notes
Enter Enter, enter, Ent, ent ↵ Enter
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
Delete del, Del, suppr, Suppr, delete, Delete Delete Mac users may find this confusing
Backspace Backspace, backspace, Back, back ←Backspace Mac users will probably understand this to be the key labeled "delete"

Special instructions[编辑源代码]

Special instruction Usage Render Notes
Maj LockMaj, Maj, maj 🔒Maj Does not always render correctly, depending on the browser and installed fonts
Numpad {{key press|1|numpad}} NumPad 1 Note special syntax for the second parameter