Template:KeyboardShortcut

From Bohemia Interactive Community
Revision as of 18:57, 24 January 2021 by Lou Montana (talk | contribs) (Fix parameters)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Shows a key-styled keyboard shortcut.

This template is used on these pages.

Usage

{{KeyboardShortcut|key1|key2|key3|key4}}

  • key1: first key
  • key2: (Optional) second key
  • key3: (Optional) third key
  • key4: (Optional) fourth key
Examples
Code Result
{{KeyboardShortcut}} -no keys defined-
{{KeyboardShortcut|Ctrl}} Ctrl
{{KeyboardShortcut|Ctrl|Shift|T}} Ctrl + Shift + T
{{KeyboardShortcut|Ctrl|Alt|Shift|T}} Ctrl + Alt + Shift + T
{{KeyboardShortcut|Ctrl|Alt|Shift|T|U}} Ctrl + Alt + Shift + T