Difference between revisions of "Template:Key press/core"

From LIMSWiki
Jump to navigationJump to search
m (Protected "Template:Key press/core" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(Corrected.)
 
Line 1: Line 1:
<em {{#if:{{{class|}}}|class="{{{class}}}"}} {{#if:{{{id|}}}|id="{{{id}}}"}} {{#if:{{{style|}}}|style="{{{style}}}"}} {{#if:{{{title|}}}|title="{{{title}}}"}}>{{{1}}}</em><noinclude>
<kbd class="keyboard-key nowrap" style="border: 1px solid #aaa; {{border-radius|0.2em}} {{box-shadow|0.1em|0.1em|0.2em|rgba(0,0,0,0.1)}} background-color: #f9f9f9; {{linear-gradient|top|#eee, #f9f9f9, #eee}} padding: 0.1em 0.3em; font-family: inherit; font-size: 0.85em;">{{#switch:{{lc:{{{1}}}}}
| caps lock          = ⇪ Caps Lock
| [[caps lock]]      = ⇪ [[Caps Lock]]
| shift              = ⇧ Shift
| [[shift key|shift]] = ⇧ [[Shift key|Shift]]
| enter              = ↵ Enter
| [[enter key|enter]] = ↵ [[Enter key|Enter]]
| cmd                = ⌘ Cmd
| [[cmd key|cmd]]
| [[command key|cmd]] = ⌘ [[Command key|Cmd]]
| command            = ⌘ Command
| [[cmd key|command]]
| [[command key|command]] = ⌘ [[Command key|Command]]
| opt                = ⌥ Opt
| [[opt key|opt]]
| [[option key|opt]]  = ⌥ [[Option key|Opt]]
| option              = ⌥ Option
| [[option key]]
| [[opt key|option]]
| [[option key|option]] = ⌥ [[Option key|Option]]
| tab                = Tab ↹
| [[tab key|tab]]    = [[Tab key|Tab]] ↹
| backspace          = ← Backspace
| [[backspace]]      = ← [[Backspace]]
| win                = ⊞ Win
| [[win key|win]]
| [[windows key|win]] = ⊞ [[Windows key|Win]]
| menu                = ≣ Menu
| [[menu key|menu]]  = ≣ [[Menu key|Menu]]
| up                  = ↑
| [[arrow keys|up]]  = [[Arrow keys|↑]]
| down                = ↓
| [[arrow keys|down]] = [[Arrow keys|↓]]
| left                = ←
| [[arrow keys|left]] = [[Arrow keys|←]]
| right              = →
| [[arrow keys|right]] = [[Arrow keys|→]]
| *
| asterisk            = <nowiki>*</nowiki>
| #
| hash                = <nowiki>#</nowiki>
| [[#]]              = [[Number sign|#]]
| :
| colon              = <nowiki>:</nowiki>
| [[:]]              = [[Colon (punctuation)|:]]
| pipe                = <nowiki>|</nowiki>
| [[|]]              = [[Pipe symbol|<nowiki>|</nowiki>]]
| ;
| semicolon          = <nowiki>;</nowiki>
| [[;]]              = [[Semi-colon|<nowiki>;</nowiki>]]
| equals              = <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}}
{{documentation}}
<!-- Add categories to the /doc subpage, not here! -->
<!-- Add categories and interwikis links to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Latest revision as of 19:03, 23 September 2016

{{{1}}}

[edit] [purge] Template documentation

This is the {{key press/core}} sub-template.

Do not use this template directly, use {{key press}} instead.

This template is called from {{key press}}. It holds the code that otherwise would be repeated several times in {{key press}}, thus simplifying the code.

For more documentation see {{key press}}.