From StrategyWiki, the video game walkthrough and strategy guide wiki
Jump to navigation Jump to search
(edit description)
(add key code reference)
Line 26: Line 26:
If you print the chart at 96dpi then it should exactly overlay your keyboard.
If you print the chart at 96dpi then it should exactly overlay your keyboard.


<table>
<tr><th>Example Code</th><th>Key</th></tr>
<tr><td>
<pre>
<pre>
{{kbdchart
{{kbdchart
Line 139: Line 142:
}}
}}
</pre>
</pre>
</td><td>
<pre>
000 `
001 1
002 2
003 3
004 4
005 5
006 6
007 7
008 8
009 9
010 0
011 -
012 =
013 Backspace
014 Tab
015 q
016 w
017 e
018 r
019 t
020 y
021 u
022 i
023 o
024 p
025 [
026 ]
027 \
028 Caps Lock
029 a
030 s
031 d
032 f
033 g
034 h
035 j
036 k
037 l
038 ;
039 '
040 reserved
041 Enter
042 LShift
043 reserved
044 z
045 x
046 c
047 v
048 b
049 n
050 m
051 ,
052 .
053 /
054 RShift
055 LCtrl
056 LAlt
057 Space
058 RAlt
059 RCtrl
060 Insert
061 Delete
062 Left
063 Home
064 End
065 Up
066 Down
067 Page Up
068 Page Dn
069 Right
070 NumLk
071 Home
072 Left
073 End
074 /
075 Up
076 blank
077 Down
078 Ins
079 *
080 PgUp
081 Right
082 PgDn
083 Del
084 -
085 +
086 Enter
087 Esc
088 F1
089 F2
090 F3
091 F4
092 F5
093 F6
094 F7
095 F8
096 F9
097 F10
098 F11
099 F12
100 PrtScr
101 ScrLk
102 Pause
103 LWin
104 RWin
105 Menu
</pre>
</td></tr></table>

Revision as of 00:50, 23 April 2010

This is a 104-key PC keyboard command chart based on Video Game Keyboard Charts (LGPL) which I also wrote. Posfan12

Usage:

Keys are numbered from 000 to 105. Note that two numbers are reserved for keys on European keyboards and will be added later.

Each key has four main parameters:

  • NNNbkg - the background color of the key using HTML/CSS hexadecimal notation. Useful for grouping keys with a similar purpose.
  • NNNtxt - text description of the action performed when pressing the key alone.
  • NNNshf - text description of the action performed when pressing the key along with the SHIFT key.
  • NNNctl - text description of the action performed when pressing the key along with the CTRL key.
  • NNNalt - text description of the action performed when pressing the key along with the ALT key.

There are some additional parameters hidden away if you dig around a bit.

The key group legend following the chart has two parameters for each key group, and supports a total of 10 possible key groups starting with group #0:

  • legNcol - the color used by the key group. (For instance "Red".)
  • legNtxt - text description of the key group. (For instance "Combat Controls".)

The ALTGR key is not supported yet but will be added later.

This template uses a sub-template called Template:Kbdchartkey to render the actual keys.

If you print the chart at 96dpi then it should exactly overlay your keyboard.

Example CodeKey
{{kbdchart
|000bkg= |000txt= |000shf= |000ctl= |000alt= 
|001bkg= |001txt= |001shf= |001ctl= |001alt= 
|002bkg= |002txt= |002shf= |002ctl= |002alt= 
|003bkg= |003txt= |003shf= |003ctl= |003alt= 
|004bkg= |004txt= |004shf= |004ctl= |004alt= 
|005bkg= |005txt= |005shf= |005ctl= |005alt= 
|006bkg= |006txt= |006shf= |006ctl= |006alt= 
|007bkg= |007txt= |007shf= |007ctl= |007alt= 
|008bkg= |008txt= |008shf= |008ctl= |008alt= 
|009bkg= |009txt= |009shf= |009ctl= |009alt= 
|010bkg= |010txt= |010shf= |010ctl= |010alt= 
|011bkg= |011txt= |011shf= |011ctl= |011alt= 
|012bkg= |012txt= |012shf= |012ctl= |012alt= 
|013bkg= |013txt= |013shf= |013ctl= |013alt= 
|014bkg= |014txt= |014shf= |014ctl= |014alt= 
|015bkg= |015txt= |015shf= |015ctl= |015alt= 
|016bkg= |016txt= |016shf= |016ctl= |016alt= 
|017bkg= |017txt= |017shf= |017ctl= |017alt= 
|018bkg= |018txt= |018shf= |018ctl= |018alt= 
|019bkg= |019txt= |019shf= |019ctl= |019alt= 
|020bkg= |020txt= |020shf= |020ctl= |020alt= 
|021bkg= |021txt= |021shf= |021ctl= |021alt= 
|022bkg= |022txt= |022shf= |022ctl= |022alt= 
|023bkg= |023txt= |023shf= |023ctl= |023alt= 
|024bkg= |024txt= |024shf= |024ctl= |024alt= 
|025bkg= |025txt= |025shf= |025ctl= |025alt= 
|026bkg= |026txt= |026shf= |026ctl= |026alt= 
|027bkg= |027txt= |027shf= |027ctl= |027alt= 
|028bkg= |028txt= |028shf= |028ctl= |028alt= 
|029bkg= |029txt= |029shf= |029ctl= |029alt= 
|030bkg= |030txt= |030shf= |030ctl= |030alt= 
|031bkg= |031txt= |031shf= |031ctl= |031alt= 
|032bkg= |032txt= |032shf= |032ctl= |032alt= 
|033bkg= |033txt= |033shf= |033ctl= |033alt= 
|034bkg= |034txt= |034shf= |034ctl= |034alt= 
|035bkg= |035txt= |035shf= |035ctl= |035alt= 
|036bkg= |036txt= |036shf= |036ctl= |036alt= 
|037bkg= |037txt= |037shf= |037ctl= |037alt= 
|038bkg= |038txt= |038shf= |038ctl= |038alt= 
|039bkg= |039txt= |039shf= |039ctl= |039alt= 
<!--skips a number-->
|041bkg= |041txt= |041shf= |041ctl= |041alt= 
|042bkg= |042txt= |042shf= |042ctl= |042alt= 
<!--skips a number-->
|044bkg= |044txt= |044shf= |044ctl= |044alt= 
|045bkg= |045txt= |045shf= |045ctl= |045alt= 
|046bkg= |046txt= |046shf= |046ctl= |046alt= 
|047bkg= |047txt= |047shf= |047ctl= |047alt= 
|048bkg= |048txt= |048shf= |048ctl= |048alt= 
|049bkg= |049txt= |049shf= |049ctl= |049alt= 
|050bkg= |050txt= |050shf= |050ctl= |050alt= 
|051bkg= |051txt= |051shf= |051ctl= |051alt= 
|052bkg= |052txt= |052shf= |052ctl= |052alt= 
|053bkg= |053txt= |053shf= |053ctl= |053alt= 
|054bkg= |054txt= |054shf= |054ctl= |054alt= 
|055bkg= |055txt= |055shf= |055ctl= |055alt= 
|056bkg= |056txt= |056shf= |056ctl= |056alt= 
|057bkg= |057txt= |057shf= |057ctl= |057alt= 
|058bkg= |058txt= |058shf= |058ctl= |058alt= 
|059bkg= |059txt= |059shf= |059ctl= |059alt= 
|060bkg= |060txt= |060shf= |060ctl= |060alt= 
|061bkg= |061txt= |061shf= |061ctl= |061alt= 
|062bkg= |062txt= |062shf= |062ctl= |062alt= 
|063bkg= |063txt= |063shf= |063ctl= |063alt= 
|064bkg= |064txt= |064shf= |064ctl= |064alt= 
|065bkg= |065txt= |065shf= |065ctl= |065alt= 
|066bkg= |066txt= |066shf= |066ctl= |066alt= 
|067bkg= |067txt= |067shf= |067ctl= |067alt= 
|068bkg= |068txt= |068shf= |068ctl= |068alt= 
|069bkg= |069txt= |069shf= |069ctl= |069alt= 
|070bkg= |070txt= |070shf= |070ctl= |070alt= 
|071bkg= |071txt= |071shf= |071ctl= |071alt= 
|072bkg= |072txt= |072shf= |072ctl= |072alt= 
|073bkg= |073txt= |073shf= |073ctl= |073alt= 
|074bkg= |074txt= |074shf= |074ctl= |074alt= 
|075bkg= |075txt= |075shf= |075ctl= |075alt= 
|076bkg= |076txt= |076shf= |076ctl= |076alt= 
|077bkg= |077txt= |077shf= |077ctl= |077alt= 
|078bkg= |078txt= |078shf= |078ctl= |078alt= 
|079bkg= |079txt= |079shf= |079ctl= |079alt= 
|080bkg= |080txt= |080shf= |080ctl= |080alt= 
|081bkg= |081txt= |081shf= |081ctl= |081alt= 
|082bkg= |082txt= |082shf= |082ctl= |082alt= 
|083bkg= |083txt= |083shf= |083ctl= |083alt= 
|084bkg= |084txt= |084shf= |084ctl= |084alt= 
|085bkg= |085txt= |085shf= |085ctl= |085alt= 
|086bkg= |086txt= |086shf= |086ctl= |086alt= 
|087bkg= |087txt= |087shf= |087ctl= |087alt= 
|088bkg= |088txt= |088shf= |088ctl= |088alt= 
|089bkg= |089txt= |089shf= |089ctl= |089alt= 
|090bkg= |090txt= |090shf= |090ctl= |090alt= 
|091bkg= |091txt= |091shf= |091ctl= |091alt= 
|092bkg= |092txt= |092shf= |092ctl= |092alt= 
|093bkg= |093txt= |093shf= |093ctl= |093alt= 
|094bkg= |094txt= |094shf= |094ctl= |094alt= 
|095bkg= |095txt= |095shf= |095ctl= |095alt= 
|096bkg= |096txt= |096shf= |096ctl= |096alt= 
|097bkg= |097txt= |097shf= |097ctl= |097alt= 
|098bkg= |098txt= |098shf= |098ctl= |098alt= 
|099bkg= |099txt= |099shf= |099ctl= |099alt= 
|100bkg= |100txt= |100shf= |100ctl= |100alt= 
|101bkg= |101txt= |101shf= |101ctl= |101alt= 
|102bkg= |102txt= |102shf= |102ctl= |102alt= 
|103bkg= |103txt= |103shf= |103ctl= |103alt= 
|104bkg= |104txt= |104shf= |104ctl= |104alt= 
|105bkg= |105txt= |105shf= |105ctl= |105alt= 
|leg0col= |leg0txt= 
|leg1col= |leg1txt= 
|leg2col= |leg2txt= 
}}
000 `
001 1
002 2
003 3
004 4
005 5
006 6
007 7
008 8
009 9
010 0
011 -
012 =
013 Backspace
014 Tab
015 q
016 w
017 e
018 r
019 t
020 y
021 u
022 i
023 o
024 p
025 [
026 ]
027 \
028 Caps Lock
029 a
030 s
031 d
032 f
033 g
034 h
035 j
036 k
037 l
038 ;
039 '
040 reserved
041 Enter
042 LShift
043 reserved
044 z
045 x
046 c
047 v
048 b
049 n
050 m
051 ,
052 .
053 /
054 RShift
055 LCtrl
056 LAlt
057 Space
058 RAlt
059 RCtrl
060 Insert
061 Delete
062 Left
063 Home
064 End
065 Up
066 Down
067 Page Up
068 Page Dn
069 Right
070 NumLk
071 Home
072 Left
073 End
074 /
075 Up
076 blank
077 Down
078 Ins
079 *
080 PgUp
081 Right
082 PgDn
083 Del
084 -
085 +
086 Enter
087 Esc
088 F1
089 F2
090 F3
091 F4
092 F5
093 F6
094 F7
095 F8
096 F9
097 F10
098 F11
099 F12
100 PrtScr
101 ScrLk
102 Pause
103 LWin
104 RWin
105 Menu