Template:Kbdchart/Documentation

Description
This is a 104-key PC keyboard command chart based on Video Game Keyboard Charts (LGPL) which Posfan12 authored. There are two sub-templates, Template:Kbdchartleg and Template:Kbdchartkey, used in rendering the actual keys.

Usage
Keys are numbered from 000 to 105, with two of the keys reserved for European keyboards. Each key has four main parameters:


 *   - the background color code for the key.
 *   - text description of the action performed when pressing the key alone.
 *   - text description of the action performed when pressing the key along with the SHIFT key.
 *   - text description of the action performed when pressing the key along with the CTRL key.
 *   - text description of the action performed when pressing the key along with the ALT key.

Legal background color codes are:

Key groupings (which appear in the chart legend) are numbered from 0 to 9. There are two main parameters:


 *   - the background color code for the key grouping.
 *   - the text description of the key grouping (for instance "Combat Controls").

Here's a set of conventions with regard to group colors that works pretty well:


 * red Combat/Actions
 * yel Targeting/Unit selection
 * grn Movement/Navigation
 * cyn Communication/Chat
 * blu Camera/Point of view
 * mag Game Controls/Menus

Additional notes:
 * Two keys are reserved for European keyboards which will be added later.
 * The ALTGR key on some European keyboards is not currently supported but will be added later.
 * At 96dpi a printed version of the chart should exactly overlay an actual keyboard.
 * Line breaks need to be inserted manually using the HTML  tag.
 * There are some additional parameters hidden away if you dig around a bit.
 * The order in which the keys are numbered are based on their scan codes on typical IBM-compatible keyboards.

Reference chart
I've also uploaded an Excel sheet here to assist you in filling in the template parameters.