Difference between revisions of "Template:Shortcut/Keypress"

From POV-Wiki
Jump to navigation Jump to search
m
m
Line 11: Line 11:
 
background-size: auto;
 
background-size: auto;
 
border-bottom-color: rgb(102, 102, 102);
 
border-bottom-color: rgb(102, 102, 102);
border-bottom-style: outset;
+
border-bottom-style: solid;
border-bottom-width: 1px;
+
border-bottom-width: 3px;
border-collapse: collapse;
 
 
border-image-outset: 0;
 
border-image-outset: 0;
 
border-image-repeat: stretch;
 
border-image-repeat: stretch;

Revision as of 08:18, 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}}}}} }}