Template:Kbdchart/Documentation

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

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

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. (For instance "#e02020".) 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 ALTGR key is not supported yet but will be added later.

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 "#e02020".)
 * legNtxt - text description of the key group. (For instance "Combat Controls".)

I've come up with a set of conventions with regard to color use that works well:


 * #e02020 Combat/Actions
 * #e0e020 Targeting/Unit selection
 * #20e020 Movement/Navigation
 * #20e0e0 Communication/Chat
 * #2020e0 Camera/Point of view
 * #e020e0 Game Controls/Menus

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