Cap key
Export this template, then import, to install it.
Use edit summary: Copied from [[w:c:templates:Template:Kbdlegend]] to properly attribute this template's editors.
This template is probably not already on your wiki.
Template documentation
Note: the template above may sometimes be partially or fully invisible.

View or edit this documentation. (How does this work?)

Editors can experiment with this template's sandbox and test case pages.

Uses Template:kbdchartleg as a sub-template.


Key groupings are numbered from 00 to 11. There are two main parameters:

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

Legal background color codes are:

  • red
  • yel
  • grn
  • cyn
  • blu
  • mag
  • wht
  • gry
  • blk
  • org
  • olv
  • brn

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

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

Reference chart

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

Legend 0
Legend 1
Legend 2
Legend 3
Legend 4
Legend 5
Legend 6
Legend 7
Legend 8
Legend 9
Legend 10
Legend 11
|00lgb= |00lgt= 
|01lgb= |01lgt= 
|02lgb= |02lgt= 
|03lgb= |03lgt= 
|04lgb= |04lgt= 
|05lgb= |05lgt= 
|06lgb= |06lgt= 
|07lgb= |07lgt= 
|08lgb= |08lgt= 
|09lgb= |09lgt= 
|10lgb= |10lgt= 
|11lgb= |11lgt= 
Community content is available under CC-BY-SA unless otherwise noted.