User:Taz/Template:Mousechart

From Lotro-Wiki.com
Jump to navigation Jump to search
LeftBtn
Wheel
RightBtn

Usage

This template draws a row of boxes representing the main mouse buttons and provides parameters for labels and background color for each button.

This is based on User:Taz/Template:Kbdchart and uses User:Taz/Template:Kbdchartkey.


Syntax

{{mousechart
        |<m00t=LeftBtn Game Label>  |<m00b=color> 
        |<m00s=LeftBtn Shift>       |<m00c=LeftBtn Ctrl>  |<m00a=LeftBtn Alt>
        |<m01t=RightBtn Game Label> |<m01b=color>
        |<m01s=RightBtn Shift>      |<m01c=RightBtn Ctrl> |<m01a=RightBtn Alt>
        |<m02t=Wheel Game Label>    |<m02b=color>
        |<m02s=Wheel Shift>         |<m02c=Wheel Ctrl>    |<m02a=Wheel Alt> }}


Parameters

Button Numbering
NN Button
00 Left mouse button
01 Right mouse button
02 Mouse wheel
Label parameters
mNNt Caption Game function of button NN with no modifiers. See the keytxt parameter of User:Taz/Template:Kbdchartkey.
mNNs Shift ... button NN with Shift. See the keyshf parameter of User:Taz/Template:Kbdchartkey.
mNNc Ctrl ... button NN with Ctrl. See the keyctl parameter of User:Taz/Template:Kbdchartkey.
mNNa Alt ... button NN with Alt. See the keyalt parameter of User:Taz/Template:Kbdchartkey.
Color parameters
mNNb non Background color for button NN. Valid color presets:
  • red #f99
  • yel #ff9
  • grn #9f9
  • cyn #9ff
  • blu #99f
  • mag #f9f
  • wht #fff
  • gry #999
  • blk #444
  • org #fc0
  • olv #cc0
  • brn #862