Wiktenauer logo.png

Template:PlayStation key press/doc

From Wiktenauer
< Template:PlayStation key press
Revision as of 03:07, 23 September 2012 by Michael Chidester (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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