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 two sub-templates, Template:Kbdchartleg and Template:Kbdchartkey, to render the actual keys.

Usage
Keys are numbered from 000 to 105. (Note that two of the numbers are reserved for European keyboards and will be implemented later.) Each key has four main parameters:


 * NNNb - the background color code for the key.
 * NNNt - text description of the action performed when pressing the key alone.
 * NNNs - text description of the action performed when pressing the key along with the SHIFT key.
 * NNNc - text description of the action performed when pressing the key along with the CTRL key.
 * NNNa - 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:


 * Nlgb - the background color code for the key grouping.
 * Nlgt - 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 should be inserted explicitly using the HTML  tag.
 * There are some additional parameters hidden away if you dig around a bit.

Reference chart
Copying the values into a spreadsheet and editing the template from there works pretty well.