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 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. Legal values are: red (Red), yel (Yellow), grn (Green), cyn (Cyan), blu (Blue), mag (Magenta), wht (White), gry (Gray), blk (Black), org (Orange) and olv (Olive).
 * 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. Legal values are: red (Red), yel (Yellow), grn (Green), cyn (Cyan), blu (Blue), mag (Magenta), wht (White), gry (Gray), blk (Black), org (Orange) and olv (Olive).
 * 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:


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

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