Keyboard – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Fix descr → desc)
m (Text replacement - "HashLink" to "Link")
 
(One intermediate revision by the same user not shown)
Line 197: Line 197:
== Usage ==
== Usage ==
{{<nowiki/>Keyboard|'''''key='''''|'''''colorKey'''''|'''''color#'''''|'''''color#descr'''''}}
{{<nowiki/>Keyboard|'''''key='''''|'''''colorKey'''''|'''''color#'''''|'''''color#descr'''''}}
* key: key name (e.g F1, Esc, P) see the {{HashLink|#Full Template}} for all the keys.
* key: key name (e.g F1, Esc, P) see the {{Link|#Full Template}} for all the keys.
* color''Key'': (Optional, default empty) key color definition, e.g <tt>colorP= #CDF</tt>
* color''Key'': (Optional, default empty) key color definition, e.g {{hl|c= colorP= #CDF}}
* color#: (Optional, default empty) color code (e.g <tt>color1= #CDF</tt>) range 1..10
* color#: (Optional, default empty) color code (e.g {{hl|c= color1= #CDF}}) range 1..10
* color#desc: (Optional, default empty) color description (e.g color1desc= Movement) range 1..10
* color#desc: (Optional, default empty) color description (e.g color1desc= Movement) range 1..10



Latest revision as of 17:45, 4 January 2023

Usage

{{Keyboard|key=|colorKey|color#|color#descr}}

  • key: key name (e.g F1, Esc, P) see the Full Template for all the keys.
  • colorKey: (Optional, default empty) key color definition, e.g colorP= #CDF
  • color#: (Optional, default empty) color code (e.g color1= #CDF) range 1..10
  • color#desc: (Optional, default empty) color description (e.g color1desc= Movement) range 1..10

Example

{{Keyboard}}
Escape

F1
F2
F3
F4

F5
F6
F7
F8

F9
F10
F11
F12

Prt Scr
Scr Lck
Pause

Help
`
1
2
3
4
5
6
7
8
9
0
-
=
Backspace

Insert
Home
Pg Up

Num Lck
/
*
-
Tab
Q
W
E
R
T
Y
U
I
O
P
[
]
\

Delete
End
Pg Down

7
8
9
+
Caps Lock
A
S
D
F
G
H
J
K
L
 ;
'
Enter

4
5
6
Shift
Z
X
C
V
B
N
M
,
.
/
Shift



1
2
3
Enter
Ctrl
Win
Alt
Space
Alt Gr
Win
Menu
Ctrl





0
,
{{Keyboard
| colorW = #CDF
| colorA = #CDF
| colorS = #CDF
| colorD = #CDF
| color1 = #CDF
| color1descr = Basic movement
}}
Escape

F1
F2
F3
F4

F5
F6
F7
F8

F9
F10
F11
F12

Prt Scr
Scr Lck
Pause

Help
`
1
2
3
4
5
6
7
8
9
0
-
=
Backspace

Insert
Home
Pg Up

Num Lck
/
*
-
Tab
Q
W
E
R
T
Y
U
I
O
P
[
]
\

Delete
End
Pg Down

7
8
9
+
Caps Lock
A
S
D
F
G
H
J
K
L
 ;
'
Enter

4
5
6
Shift
Z
X
C
V
B
N
M
,
.
/
Shift



1
2
3
Enter
Ctrl
Win
Alt
Space
Alt Gr
Win
Menu
Ctrl





0
,
Basic movement

Full Template

{{Keyboard

|Escape = 
|F1 = 
|F2 = 
|F3 = 
|F4 = 
|F5 = 
|F6 = 
|F7 = 
|F8 = 
|F9 = 
|F10 = 
|F11 = 
|F12 = 

|Tilde = 
|Key1 = 
|Key2 = 
|Key3 = 
|Key4 = 
|Key5 = 
|Key6 = 
|Key7 = 
|Key8 = 
|Key9 = 
|Key0 = 
|Minus = 
|Equals = 
|Backspace = 

|Tab = 
|Q = 
|W = 
|E = 
|R = 
|Y = 
|T = 
|U = 
|I = 
|O = 
|P = 
|LBracket = 
|RBracket = 
|Backslash = 

|CapsLock = 
|A = 
|S = 
|D = 
|F = 
|G = 
|H = 
|J = 
|K = 
|L = 
|Semicolon = 
|Apostrophe = 
|Enter = 

|LShift = 
|Z = 
|X = 
|C = 
|V = 
|B = 
|N = 
|M = 
|Comma = 
|FullStop = 
|Slash = 
|RShift = 

|LCtrl = 
|LWin = 
|LAlt = 
|Space = 
|RAlt = 
|RWin = 
|Menu = 
|RCtrl = 

|PrintScreen = 
|ScrollLock = 
|Pause = 
|Insert = 
|Delete = 
|Home = 
|End = 
|PageUp = 
|PageDown = 

|Up = 
|Left = 
|Down = 
|Right = 

|NumLock = 
|NumSlash = 
|NumAsterisk = 
|NumMinus = 
|NumPlus = 
|NumSeparator = 
|NumEnter = 
|Num1 = 
|Num2 = 
|Num3 = 
|Num4 = 
|Num5 = 
|Num6 = 
|Num7 = 
|Num8 = 
|Num9 = 
|Num0 = 
}}
↑ Back to spoiler's top