Template:Kbd/doc

From Wikibooks, open books for an open world
Jump to navigation Jump to search

A way to add keyboard entry text without using HTML. This should be used in instances when we are giving instructions on keyboard input.

This template should not be used in content namespaces (Main, Translation or Page). It is used for documentation only.

Example:

  • Pressing {{kbd|Alt}}+{{kbd|Shift}}+{{kbd|E}} allows you to edit a page.

Renders as:

  • Pressing Alt+Shift+E allows you to edit a page.

The default styling for most browsers is to use a monospace font this.