(创建页面,内容为“<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行: | 第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: #f9f9f9; background-image: linear-gradient(top, #eee, #f9f9f9, #eee); padding: 1px 3px; font-family: inherit; font-size: 0.85em; color:dimgray;">{{#switch:{{lc:{{{1}}}}} | ||
| | | 回车|enter|ent| 换行=↵ Enter | ||
| | | 控制|ctrl|control=^Ctrl | ||
|space| | |space| 空格=␣ Space | ||
|Home|home=🏠 Home | |Home|home=🏠 Home | ||
|Esc|Escape|esc|escape=←Esc | |Esc|Escape|esc|escape=←Esc | ||
| | | 制表|tab=⇆Tab | ||
|LockMaj|maj|Maj=🔒Maj | |LockMaj|maj|Maj=🔒Maj | ||
| | | 上档|shift=⇧Shift | ||
|suppr|Suppr| | |suppr|Suppr| 删除|delete|del|Del=Delete | ||
|back| | |back| 退格=← | ||
|1|2|3|4|5|6|7|8|9|0={{#ifeq:{{{2|}}}|numpad|NumPad {{{1}}}|{{{1}}}}} | |1|2|3|4|5|6|7|8|9|0={{#ifeq:{{{2|}}}|numpad|NumPad {{{1}}}|{{{1}}}}} | ||
|#default={{{1}}} | |#default={{{1}}} | ||
第47行: | 第47行: | ||
| Numpad || 1, 2, 3, 4, 5, 6, 7, 8, 9, 0 and second parameter <tt>numpad</tt> or <tt>NumPad</tt> || {{key press|1|numpad}} || needs both parameters. If only first, renders normaly | | Numpad || 1, 2, 3, 4, 5, 6, 7, 8, 9, 0 and second parameter <tt>numpad</tt> or <tt>NumPad</tt> || {{key press|1|numpad}} || needs both parameters. If only first, renders normaly | ||
|} | |} | ||
[[Category:模板 | [[Category:模板]] | ||
</noinclude> | </noinclude> |
2022年3月14日 (一) 02:52的最新版本
{{{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 |