Template:PlayStation key press

(Redirected from Template:Pskeypress)
Jump to navigation Jump to search

×

Template documentation[view] [edit] [history] [purge]

This template (and its more concise {{pskeypress}} shortcut, or {{gamepad key press}} genericized alias) can be used to indicate key presses on PlayStation-style controllers. It simulates the appearance of PS gamepad keys entirely in CSS, without having to resort to images, which the Manual of Style discourages for accessibility reasons.

Usage[edit source]

  • {{PlayStation key press|X}} gives ×
  • {{PlayStation key press|O}} gives
  • {{PlayStation key press|square}} gives
  • {{PlayStation key press|triangle}} gives

See also[edit source]

  • {{Key press}} – to depict key presses on a computer keyboard, including key combinations (e.g. Ctrl+x)
  • {{Key top}} – produces a similar visual effect, but includes more symbols and does not directly support key chaining (e.g. ⇬ Caps Lock)
  • {{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

External links[edit source]