Template:Key top/doc

Revision as of 16:52, 13 January 2023 by imported>Plastikspork (See also: Deleted)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Lua error: Internal error: The interpreter exited with status 1.

Usage

This template renders a key top as found on typewriters and computer keyboards including a standardized or common symbol if available, e.g. from ISO/IEC 9995-7. Keys for which there is an associated Wikipedia article are rendered with a hyperlink. Unlike {{key press}}, this template is not intended to be used for combinations of multiple keys, i.e. “keyboard shortcuts”. It shall be used in descriptions of the physical keys and their functions.

The first, mandatory parameter holds the “natural” key name which is used to select a symbol and link. Its contents is usually also output unchanged next to the symbol unless the second parameter is set to an explicit label, which most often will be blank to suppress the label. The third, also optional parameter, is a binary switch that toggles alternate representations of a very limited selection of symbols: vs. , vs. vs. , vs. , vs. and vs. 🔴.

Examples

Lua error: Internal error: The interpreter exited with status 1.↩ return
Lua error: Internal error: The interpreter exited with status 1.↩ Return
Lua error: Internal error: The interpreter exited with status 1.↩ RETURN
Lua error: Internal error: The interpreter exited with status 1.
Lua error: Internal error: The interpreter exited with status 1.⌅ Enter
Lua error: Internal error: The interpreter exited with status 1.↩ Enter
Lua error: Internal error: The interpreter exited with status 1.
Lua error: Internal error: The interpreter exited with status 1.
Lua error: Internal error: The interpreter exited with status 1.
Lua error: Internal error: The interpreter exited with status 1.
Lua error: Internal error: The interpreter exited with status 1.
Lua error: Internal error: The interpreter exited with status 1.
Lua error: Internal error: The interpreter exited with status 1.↵ Return
Lua error: Internal error: The interpreter exited with status 1.⌃ Ctrl
Lua error: Internal error: The interpreter exited with status 1.⎈ Ctrl
Lua error: Internal error: The interpreter exited with status 1.⎇ Alt
Lua error: Internal error: The interpreter exited with status 1.⌥ Option
Lua error: Internal error: The interpreter exited with status 1.⌥ Alt
Lua error: Internal error: The interpreter exited with status 1.⌘ Windows
Lua error: Internal error: The interpreter exited with status 1.⌘ Command
Lua error: Internal error: The interpreter exited with status 1.◆ Meta
Lua error: Internal error: The interpreter exited with status 1.❖ Super
Lua error: Internal error: The interpreter exited with status 1.⊞ Windows
Lua error: Internal error: The interpreter exited with status 1.❖ Windows

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Key top in articles based on its TemplateData.

TemplateData for Key top

Lua error: Internal error: The interpreter exited with status 1.

Display symbolic key tops as seen on computer keyboards, phones and typewriters.

Template parameters

ParameterDescriptionTypeStatus
name1

The standard or common name of the key.

Example
Shift
Linerequired
label2

Label for the key if different from the name, leave empty to suppress label.

Example
Level 2 Select
Lineoptional
alternate symbol3

Switch for certain alternate symbols (return, control, insert, stop, record)

Example
true
Booleanoptional

See also

  • {{Key press}} – produces a similar visual effect, but includes fewer symbols while directly supporting combinations (e.g. Lua error: Internal error: The interpreter exited with status 1.)
  • {{Button}} – produces a similar visual effect but without the semantic markup (e.g. sample text); more for representing interface elements.
  • {{Kbd}} – to indicate user input (of any kind) without making it look like keys or buttons