Difference between revisions of "Template:Shortcut/Keypress"

From POV-Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
<includeonly><span class="hotkey" style="color: #000;border: 1px solid #666;border-top-color: rgb(102, 102, 102);border-left-color: rgb(102, 102, 102);border-top-color: #cecbc7;border-left-color: #cecbc7;background:#f0ece8;padding: 0.1em 0.4em;font-size: 0.8em;white-space: nowrap;">
+
<includeonly><span class="hotkey" style="color: #000;border: 1px outset solid #666;border-top-color: rgb(102, 102, 102);border-left-color: rgb(102, 102, 102);border-top-color: #cecbc7;border-left-color: #cecbc7;background:#f0ece8;padding: 0.1em 0.4em;font-size: 0.8em;white-space: nowrap;">
 
{{ucfirst: {{lc:{{{1}}}}}}}
 
{{ucfirst: {{lc:{{{1}}}}}}}
 
</span></includeonly><noinclude>{{Documentation}}{{#switch:{{lc:{{{1}}}}}
 
</span></includeonly><noinclude>{{Documentation}}{{#switch:{{lc:{{{1}}}}}

Revision as of 21:52, 24 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}}}}} }}