Wiktenauer logo.png

Template:PlayStation key press

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

×

[edit] [history] [purge] Documentation icon Template documentation

This template (and its more concise {{pskeypress}} shortcut) 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.

Note that the template uses a proprietary Mozilla CSS class to get round borders, so it won't look ideal on some browsers, but should still be entirely understandable.

Usage

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

See also

  • {{key press}} - to depict key presses on a computer keyboard
  • {{kbd}} - to indicate longer strings of keyboard (or other) input