Template:Key press/core: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
(Creating this "/core" template, holding all code that is repeated in {{keypress}}.)
 
m (Protected "Template:Key press/core" (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)))
 
(63 intermediate revisions by 21 users not shown)
Line 1: Line 1:
<span class="keyboard-key" style="border: 0.2em outset #cecbc7; background: #f0ece8; padding: 0.1em 0.4em; font-size: 0.8em; white-space: nowrap;">{{#switch:{{lc:{{{1}}}}}
<kbd class="keyboard-key nowrap" style="border: 1px solid #aaa; {{border-radius|2px}} {{box-shadow|1px|2px|2px|#ddd}} background-color: #f9f9f9; {{linear-gradient|top|#eee, #f9f9f9, #eee}} padding: 1px 3px; font-family: inherit; font-size: 0.85em;">{{#switch:{{lc:{{{1}}}}}
| shift   = ⇧ Shift
| caps lock          = {{Unicode|⇪}}&nbsp;Caps&nbsp;Lock
| enter   = ↵ Enter  
| [[caps lock]]      = {{Unicode|⇪}}&nbsp;[[Caps Lock]]
| cmd     = ⌘ Cmd
| shift               = {{Unicode|}}&nbsp;Shift
| opt     = ⌥ Opt
| [[shift key|shift]] = {{Unicode|⇧}}&nbsp;[[Shift key|Shift]]
| tab     = Tab ⇆
| enter               = {{Unicode|}}&nbsp;Enter
| #default = {{{1}}}
| [[enter key|enter]] = {{Unicode|↵}}&nbsp;[[Enter key|Enter]]
}}</span><noinclude>
| cmd                 = {{Unicode|}}&nbsp;Cmd
| [[cmd key|cmd]]
| [[command key|cmd]] = {{Unicode|⌘}}&nbsp;[[Command key|Cmd]]
| opt                 = {{Unicode|}}&nbsp;Opt
| [[opt key|opt]]
| [[option key|opt]]  = {{Unicode|⌥}}&nbsp;[[Option key|Opt]]
| option              = {{Unicode|⌥}}&nbsp;Option
|[[option key|option]]= {{Unicode|⌥}}&nbsp;[[Option key|Option]]
| tab                 = Tab&nbsp;{{Unicode|}}
| [[tab key|tab]]    = [[Tab key|Tab]]&nbsp;{{Unicode|⇆}}
| backspace          = ←&nbsp;Backspace
| [[backspace]]      = ←&nbsp;[[Backspace]]
| win                = {{Unicode|⊞}}&nbsp;Win
| [[win key|win]]
| [[windows key|win]] = {{Unicode|⊞}}&nbsp;[[Windows key|Win]]
| menu                = {{Unicode|≣}}&nbsp;Menu
| [[menu key|menu]]  = {{Unicode|≣}}&nbsp;[[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|→]]
| *                  = <nowiki>*</nowiki>
| #                  = <nowiki>#</nowiki>
| [[#]]              = [[Number sign|#]]
| :                  = <nowiki>:</nowiki>
| [[:]]              = [[Colon (punctuation)|:]]
| [[|]]              = [[Pipe symbol|{{!}}]]
 
<!-- 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 = {{unicode|×}}
| ps c
| circle = {{unicode|○}}
| ps s
| square = {{unicode|□}}
| ps t
| triangle = {{unicode|△}}
 
<!-- 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 and interwikis to the /doc subpage, not here! -->
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Latest revision as of 20:55, 27 July 2013

{{{1}}}

[edit] Template documentation

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