Template:Keypress

Template for fancily rendering a keyboard shortcut. See Template:Keypress/core for the actual rendering of an individual key.

Borrowed from the Second Life wiki's Template:K (under the Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) license), which is adapted from Wikipedia's Template:Keypress.

Usage:

Result:

Parameters: Labels for up to 5 keys. Some keys are rendered specially:
 * Shift = (Note: "Shift" becomes "Maj" on French pages, "Mayús" on Spanish pages, and "Maiusc" on Italian pages)
 * Enter =
 * Cmd =
 * Opt =
 * Tab =
 * Backspace =
 * Up =
 * Down =
 * Left =
 * Right =