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}}.)
 
(Adding "← Backspace", since many keyboards only have the "←" symbol and not the text "Backspace".)
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}}}}}
<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}}}}}
| shift   = ⇧ Shift
| shift     = ⇧ Shift
| enter   = ↵ Enter  
| enter     = ↵ Enter  
| cmd     = ⌘ Cmd
| cmd       = ⌘ Cmd
| opt     = ⌥ Opt
| opt       = ⌥ Opt
| tab     = Tab ⇆
| tab       = Tab ⇆
| #default = {{{1}}}
| backspace = ← Backspace
| #default = {{{1}}}
}}</span><noinclude>
}}</span><noinclude>



Revision as of 15:34, 23 March 2009

{{{1}}}

[edit] Template documentation

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