- Description
- This template is used to style a word as a Keyboard shortcut.
- Syntax and Parameters
- Type {{kbd|<word>>}} to have the keyboard styling added to the word.
- For a combination of multiple keys, do not include the combination separator (typically
+</code). Instead, wrap each key in the {{kbd}} template. See the examples below.
- Example
- This code:
{{kbd|Esc}}
- Produces: Esc
- For multiple-key combinations, use like so:
{{kbd|Shift}} + {{kbd|Tab}}
- Producing: Shift + Tab