Template:Key/core: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
sims>Roguebfl
No edit summary
sims>Dinoguy1000
(much better-looking version, with icons for certain keys, from wikipedia:Template:Key press)
Line 1: Line 1:
<kbd class="keyboard-key nowrap" style="border: 1px solid #aaa; -moz-border-radius: 2px; -webkit-border-radius: 2px; border-radius: 2px; -moz-box-shadow: 1px 2px 2px #ddd; -webkit-box-shadow: 1px 2px 2px #ddd; box-shadow: 1px 2px 2px #ddd; background-color: #f9f9f9; background-image: -moz-linear-gradient(top, #eee, #f9f9f9, #eee); background-image: -ms-linear-gradient(top, #eee, #f9f9f9, #eee); background-image: -o-linear-gradient(top, #eee, #f9f9f9, #eee); background-image: -webkit-linear-gradient(top, #eee, #f9f9f9, #eee); background-image: linear-gradient(top, #eee, #f9f9f9, #eee); padding: 1px 3px; font-family: inherit; font-size: 0.85em;">{{#switch:{{lc:{{{1}}}}}
<span style="color:inherit; background-color:inherit; border: 3pt outset #888888;border-radius:5pt; -moz-border-radius:5pt; font-family:sans-serif; font-size:smaller; font-weight:bold; text-align:center; vertical-align:middle; padding:0px 2px 1px 2px;">{{{1|Enter}}}</span><noinclude>{{Documentation}}</noinclude>
| caps lock = ⇪ Caps Lock
| shift = ⇧ Shift
| enter = ↵ Enter
| cmd = ⌘ Cmd
| command = ⌘ Command
| opt = ⌥ Opt
| option = ⌥ Option
| tab = Tab ⇆
| backspace = ← Backspace
| win = ⊞ Win
| menu = ≣ Menu
| up = ↑
| down = ↓
| left = ←
| right = →
| * = <nowiki>*</nowiki>
| # = <nowiki>#</nowiki>
| : = <nowiki>:</nowiki>

<!-- Left & right analog sticks -->
| l-up
| l up = L↑
| l-down
| l down = L↓
| l-left
| l left = L←
| l-right
| l right = L→
| l-ne
| l ne = L↗
| l-se
| l se = L↘
| l-nw
| l nw = L↖
| l-sw
| l sw = L↙

| r-up
| r up = R↑
| r-down
| r down = R↓
| r-left
| r left = R←
| r-right
| r right = R→
| r-ne
| r ne = R↗
| r-se
| r se = R↘
| r-nw
| r nw = R↖
| r-sw
| r sw = R↙

<!-- PlayStation -->
| ps x
| ex = ×
| ps c
| circle = ○
| ps s
| square = □
| ps t
| triangle = △

<!-- Nintendo 64 & GameCube -->
| c-up
| c up = C↑
| c-down
| c down = C↓
| c-left
| c left = C←
| c-right
| c right = C→
| c-ne
| c ne = C↗
| c-se
| c se = C↘
| c-nw
| c nw = C↖
| c-sw
| c sw = C↙

<!-- default -->
| #default = {{{1}}}
}}</kbd><noinclude>{{Documentation}}</noinclude>