Jump to content

Teamplaid:PlayStation key press

O Wiktionary

×

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

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

See also

[deasaich]
  • {{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 (e.g. <sample>)