FANDOM


(increase to 12 parameters)
(add chart of legal values)
Line 7: Line 7:
 
;Groupings
 
;Groupings
   
Key groupings are numbered from 0 to 9. There are two main parameters:
+
Key groupings are numbered from 0 to 11. There are two main parameters:
   
 
*'''<code>Nlgb</code>''' - the background color code for the key grouping.
 
*'''<code>Nlgb</code>''' - the background color code for the key grouping.
 
*'''<code>Nlgt</code>''' - the text description of the key grouping (for instance "Combat Controls").
 
*'''<code>Nlgt</code>''' - the text description of the key grouping (for instance "Combat Controls").
  +
  +
Legal background color codes are:
  +
  +
{|
  +
|- style="vertical-align:top;"
  +
|
  +
*<span style="font-family:monospace;background:#f99;border:1px solid #200;color:#200;">red</span>
  +
*<span style="font-family:monospace;background:#ff9;border:1px solid #220;color:#220;">yel</span>
  +
*<span style="font-family:monospace;background:#9f9;border:1px solid #020;color:#020;">grn</span>
  +
|
  +
*<span style="font-family:monospace;background:#9ff;border:1px solid #022;color:#022;">cyn</span>
  +
*<span style="font-family:monospace;background:#99f;border:1px solid #002;color:#002;">blu</span>
  +
*<span style="font-family:monospace;background:#f9f;border:1px solid #202;color:#202;">mag</span>
  +
|
  +
*<span style="font-family:monospace;background:#fff;border:1px solid #222;color:#222;">wht</span>
  +
*<span style="font-family:monospace;background:#999;border:1px solid #222;color:#eee;">gry</span>
  +
*<span style="font-family:monospace;background:#444;border:1px solid #222;color:#eee;">blk</span>
  +
|
  +
*<span style="font-family:monospace;background:#fc0;border:1px solid #222;color:#222;">org</span>
  +
*<span style="font-family:monospace;background:#cc0;border:1px solid #222;color:#222;">olv</span>
  +
*<span style="font-family:monospace;background:#862;border:1px solid #222;color:#222;">brn</span>
  +
|}
   
 
Here's a set of conventions with regard to group colors that works pretty well:
 
Here's a set of conventions with regard to group colors that works pretty well:

Revision as of 18:51, December 15, 2016

This template is NOT on the FANDOM Starter wiki.

Uses Template:kbdchartleg as a sub-template.

Origin
From http://strategywiki.org/w/index.php?title=Template:Kbdlegend
Groupings

Key groupings are numbered from 0 to 11. 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").

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
  • 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.

KeyCode
...
Legend 0
Legend 1
Legend 2
Legend 3
Legend 4
Legend 5
Legend 6
Legend 7
Legend 8
Legend 9
Legend 10
Legend 11
...
{{kbdlegend
|0lgb= |0lgt= 
|1lgb= |1lgt= 
|2lgb= |2lgt= 
|3lgb= |3lgt= 
|4lgb= |4lgt= 
|5lgb= |5lgt= 
|6lgb= |6lgt= 
|7lgb= |7lgt= 
|8lgb= |8lgt= 
|9lgb= |9lgt= 
|10lgb= |10lgt= 
|11lgb= |11lgt= 
}}
Community content is available under CC-BY-SA unless otherwise noted.