FANDOM


{{{1}}}

Export this template, then import, to install it.
Use edit summary: Copied from [[w:c:templates:Template:Key]] to properly attribute this template's editors.
This template is probably not already on your wiki.
Template documentation
Note: the template above may sometimes be partially or fully invisible.

View or edit this documentation. (How does this work?)

Editors can experiment with this template's sandbox and test case pages.
Description
This template creates a button via CSS to represent a key press on a keyboard.
Syntax
Type {{key}} somewhere.
Sample output
{{key|return}} gives...
⏎ Return
General PC
-Return = -Return
^Control = ^Control
alt = ⎇ Alt
asterisk = *
backspace = ⌫ Backspace
break = ⎊ Break
caps = caps
cmd = ⌘ Cmd
colon = :
command = ⌘ Command
compose = ⎄ Compose
ctrl = ^ Ctrl
del = ⌦ Del
down =
end = ⇲ End
-enter = ↵ Enter
enter = ⌅ Enter
equals = =
esc = ⎋ Esc
hash = #
home = ⇱ Home
ins = ⌤ Ins
left =
menu = ≣ Menu
num = num
opt = ⌥ Opt
option = ⌥ Option
pause = ⎉ Pause
pgdn = ⇟ PgDn
pgup = ⇞ PgUp
pipe = |
prt scr= ⎙ PrtScr
prtsc = ⎙ PrtScr
prtscr = ⎙ PrtScr
return = ⏎ Return
right =
scroll = scroll
semicolon = ;
shift = ⇧ Shift
tab = Tab ↹
up =
win = ⊞ Win
space == space
Left & right analog sticks
l-up = L↑
l up = L↑
l-down = L↓
l down = L↓
l-left = L←
l left = L←
l-right = L→
l right = L→
l-ne = L↗
l ne = L↗
l-se = L↘
l se = L↘
l-nw = L↖
l nw = L↖
l-sw = L↙
l sw = L↙
r-up = R↑
r up = R↑
r-down = R↓
r down = R↓
r-left = R←
r left = R←
r-right = R→
r right = R→
r-ne = R↗
r ne = R↗
r-se = R↘
r se = R↘
r-nw = R↖
r nw = R↖
r-sw = R↙
r sw = R↙
PlayStation
ps x = ×
ex = ×
ps c =
circle =
ps s =
square =
ps t =
triangle =
Nintendo 64 & GameCube
c-up = C↑
c up = C↑
c-down = C↓
c down = C↓
c-left = C←
c left = C←
c-right = C→
c right = C→
c-ne = C↗
c ne = C↗
c-se = C↘
c se = C↘
c-nw = C↖
c nw = C↖
c-sw = C↙
c sw = C↙
Origin
Based on Template:Key press at Wikipedia.
Community content is available under CC-BY-SA unless otherwise noted.