Template:Kbd/doc: Difference between revisions
Template page
More actions
Content deleted Content added
imported>76561198018895007 Created page with ";Description :This template is used to style a word as a Keyboard shortcut. ;Syntax and Parameters :Type {{t|kbd|word>}} to have the keyboard styling added to the word. : For..." |
(No difference)
|
Revision as of 00:27, 25 January 2021
- 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