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

From LFS Manual
Jump to navigationJump to search
m (fix CSS gradient and shadow)
m
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<kbd class="keyboard-key nowrap" style="border: 1px solid #aaa; border-radius: 0.2em; box-shadow: 0.1em 0.2em 0.2em #ddd; background-color: #f9f9f9; background-image: linear-gradient(to bottom, #eee, #f9f9f9, #eee); padding: 0.1em 0.3em; font-family: inherit; font-size: 0.85em;">{{#switch:{{lc:{{{1}}}}}
+
<kbd class="keyboard-key nowrap" style="border: 1px solid #aaa; border-radius: 0.2em; box-shadow: 0.1em 0.2em 0.2em #ddd; background-color: #f9f9f9; background-image: linear-gradient(to bottom, #eee, #f9f9f9, #eee); padding: 0.1em 0.3em; font-family: inherit; font-size: 1em;">{{#switch:{{lc:{{{1}}}}}
 
| caps lock          = ⇪ Caps Lock
 
| caps lock          = ⇪ Caps Lock
| [[caps lock]]      = ⇪ [[Caps Lock]]
+
| ctrl              = Ctrl
 
| shift              = ⇧ Shift
 
| shift              = ⇧ Shift
| [[shift key|shift]] = ⇧ [[Shift key|Shift]]
 
 
| enter              = ↵ Enter
 
| enter              = ↵ Enter
| [[enter key|enter]] = ↵ [[Enter key|Enter]]
 
 
| cmd                = ⌘ Cmd
 
| cmd                = ⌘ Cmd
| [[cmd key|cmd]]
 
| [[command key|cmd]] = ⌘ [[Command key|Cmd]]
 
 
| command            = ⌘ Command
 
| command            = ⌘ Command
| [[cmd key|command]]
 
| [[command key|command]] = |⌘ [[Command key|Command]]
 
 
| opt                = ⌥ Opt
 
| opt                = ⌥ Opt
| [[opt key|opt]]
 
| [[option key|opt]]  = ⌥ [[Option key|Opt]]
 
 
| option              = ⌥ Option
 
| option              = ⌥ Option
| [[option key]]
 
| [[opt key|option]]
 
| [[option key|option]] = ⌥ [[Option key|Option]]
 
 
| tab                = Tab ↹
 
| tab                = Tab ↹
| [[tab key|tab]]    = [[Tab key|Tab]] ↹
 
 
| backspace          = ← Backspace
 
| backspace          = ← Backspace
| [[backspace]]      = ← [[Backspace]]
 
 
| win                = ⊞ Win
 
| win                = ⊞ Win
| [[win key|win]]
 
| [[windows key|win]] = ⊞ [[Windows key|Win]]
 
 
| menu                = ≣ Menu
 
| menu                = ≣ Menu
| [[menu key|menu]]  = ≣ [[Menu key|Menu]]
+
| up                  = <abbr title="Arrow key up" style="text-decoration: none"></abbr>
| up                  =
+
| down                = <abbr title="Arrow key down" style="text-decoration: none"></abbr>
| [[arrow keys|up]]  = [[Arrow keys|]]
+
| left                = <abbr title="Arrow key left" style="text-decoration: none"></abbr>
| down                =
+
| right              = <abbr title="Arrow key right" style="text-decoration: none"></abbr>
| [[arrow keys|down]] = [[Arrow keys|]]
 
| left                =
 
| [[arrow keys|left]] = [[Arrow keys|]]
 
| right              =
 
| [[arrow keys|right]] = [[Arrow keys|]]
 
 
| *
 
| *
 
| asterisk            = <nowiki>*</nowiki>
 
| asterisk            = <nowiki>*</nowiki>
Line 113: Line 93:
 
| c-sw
 
| c-sw
 
| c sw    = C↙
 
| c sw    = C↙
 +
 +
<!-- Mouse buttons -->
 +
| left click
 +
| left mouse
 +
| left mouse button
 +
| left mouse btn
 +
| lmb    = <abbr title="left mouse button">LMB</abbr>
 +
| right click
 +
| right mouse
 +
| right mouse btn
 +
| right mouse button
 +
| rmb    = <abbr title="right mouse button">RMB</abbr>
 +
| middle mouse button
 +
| middle mouse btn
 +
| scroll wheel
 +
| mouse scroll
 +
| mmb    = <abbr title="middle mouse button (scroll wheel)">MMB</abbr>
  
 
<!-- default -->
 
<!-- default -->
 
| #default            = {{{1}}}
 
| #default            = {{{1}}}
 
}}</kbd><noinclude>
 
}}</kbd><noinclude>
{{documentation|content=
 
 
See {{ll|Template:Key press}}
 
  
}}
+
[[Category:Typing-aid templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 10:36, 2 January 2025

{{{1}}}