Difference between revisions of "Template:Shortcut/Keypress"

From POV-Wiki
Jump to navigation Jump to search
m
m
Line 12: Line 12:
 
border-bottom-color: rgb(102, 102, 102);
 
border-bottom-color: rgb(102, 102, 102);
 
border-bottom-style: solid;
 
border-bottom-style: solid;
border-bottom-width: 3px;
+
border-bottom-width: 4px;
 
border-collapse: collapse;
 
border-collapse: collapse;
 
border-image-outset: 0;
 
border-image-outset: 0;
Line 20: Line 20:
 
border-image-width: 1;
 
border-image-width: 1;
 
border-left-color: rgb(206, 203, 199);
 
border-left-color: rgb(206, 203, 199);
border-left-style: outset;
+
border-left-style: solid;
border-left-width: 1px;
+
border-left-width: 2px;
 
border-right-color: rgb(102, 102, 102);
 
border-right-color: rgb(102, 102, 102);
 
border-right-style: solid;
 
border-right-style: solid;
border-right-width: 1px;
+
border-right-width: 2px;
 
border-top-color: rgb(206, 203, 199);
 
border-top-color: rgb(206, 203, 199);
 
border-top-style: solid;
 
border-top-style: solid;
Line 31: Line 31:
 
display: inline;
 
display: inline;
 
font-size: 9.6px;
 
font-size: 9.6px;
line-height: 17.4px;
+
line-height: 19.4px;
 
padding-bottom: 0.966667px;
 
padding-bottom: 0.966667px;
 
padding-left: 3.83333px;
 
padding-left: 3.83333px;

Revision as of 08:24, 25 October 2019

Syntax

{{Shortcut/Keypress|<key>}}

where <key> can be any text.

Examples

  • {{Shortcut/Keypress|alt}} gives

Alt

  • {{Shortcut/Keypress|s}} gives

S

Symbols

These are the symbols you can use:

wikitext you get
{{Shortcut/Keypress|alt}}

Alt

{{Shortcut/Keypress|backspace}}

Backspace

{{Shortcut/Keypress|cmd}}

Cmd

{{Shortcut/Keypress|ctrl}}

Ctrl

{{Shortcut/Keypress|enter}}

Enter

{{Shortcut/Keypress|end}}

End

{{Shortcut/Keypress|esc}}

Esc

{{Shortcut/Keypress|home}}

Home

{{Shortcut/Keypress|opt}}

Opt

{{Shortcut/Keypress|shift}}

Shift

{{Shortcut/Keypress|tab}}

Tab

{{Shortcut/Keypress|space}}

Space

{{Shortcut/Keypress|left}}

Left

{{Shortcut/Keypress|right}}

Right

{{Shortcut/Keypress|up}}

Up

{{Shortcut/Keypress|down}}

Down

{{Shortcut/Keypress|pgup}}

Pgup

{{Shortcut/Keypress|pgdown}}

Pgdown

{{Shortcut/Keypress|pad.}}

Pad.

{{Shortcut/Keypress|pad0}}

Pad0

{{Shortcut/Keypress|pad1}}

Pad1

{{Shortcut/Keypress|pad2}}

Pad2

{{Shortcut/Keypress|pad3}}

Pad3

{{Shortcut/Keypress|pad4}}

Pad4

{{Shortcut/Keypress|pad5}}

Pad5

{{Shortcut/Keypress|pad6}}

Pad6

{{Shortcut/Keypress|pad7}}

Pad7

{{Shortcut/Keypress|pad8}}

Pad8

{{Shortcut/Keypress|pad9}}

Pad9

{{Shortcut/Keypress|pad+}}

Pad+

{{Shortcut/Keypress|pad-}}

Pad-

{{Shortcut/Keypress|pad*}}

Pad*

{{Shortcut/Keypress|pad/}}

Pad/

{{Shortcut/Keypress|pad-enter}}

Pad-enter

{{#switch:{{{1}}} | alt = Alt | backspace = ← Backspace | cmd = ⌘ Cmd | ctrl = Ctrl | enter = ↵ Enter | end = ⇥ End | esc = Esc | home = ↖ Home | opt = ⌥ Opt | shift = ⇧ Shift | space = Space | tab = ⇆ Tab | left = ← | right = → | up = ↑ | down = ↓ | pgup = PageUp | pgdown = PageDown | pad. = . NumPad | pad0 = 0 NumPad | pad1 = 1 NumPad | pad2 = 2 NumPad | pad3 = 3 NumPad | pad4 = 4 NumPad | pad5 = 5 NumPad | pad6 = 6 NumPad | pad7 = 7 NumPad | pad8 = 8 NumPad | pad9 = 9 NumPad | pad+ = + NumPad | pad- = - NumPad | pad* = * NumPad | pad/ = / NumPad | pad-enter = ↵ NumPad | #default = {{#ifeq:|1|{{{1}}}|{{{1}}}}} }}