Difference between revisions of "Template:LSL Function/color"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
{{#if:
{{#if:
{{#vardefine:p_{{{1|none}}}_desc|{{LSLGC|Color|color}} in RGB {{LSL_VR|1={{HoverText|R|Red}}, {{HoverText|G|Green}}, {{HoverText|B|Blue}}}} ({{LSL_VR|0.0, 0.0, 0.0}} = black, {{LSL_VR|1.0, 1.0, 1.0}} = white)}}
{{#vardefine:p_{{{1|none}}}_desc|{{LSLGC|Color|color}} in RGB {{LSL_VR|1={{HoverText|R|Red}}, {{HoverText|G|Green}}, {{HoverText|B|Blue}}}} ({{LSL_VR|0.0, 0.0, 0.0}} = black, {{LSL_VR|1.0, 1.0, 1.0}} = white)}}
{{#vardefine:p_{{{1|none}}}_hover|color in RGB {{LSL_VR|R, G, B}} ({{LSL_VR|0.0, 0.0, 0.0}} = black, {{LSL_VR|1.0, 1.0, 1.0}} = white)}}
{{#vardefine:p_{{{1|none}}}_hover|color in RGB {{LSL_VR|R, G, B}} ({{LSL_VR|0.0, 0.0, 0.0}} = black, {{LSL_VR|1.0, 1.0, 1.0}} = white)}}
{{#vardefine:also_articles|{{#var:also_articles}}
{{#vardefine:also_articles|{{#var:also_articles}}
{{LSL DefineRow||{{LSLGC|Color|Color in LSL}} {{#switch:{{#if:{{{nc|}}}|Template|{{NAMESPACE}}}}|Template=|User=|{{LSLC|Color}}}} }}}}
{{LSL DefineRow||{{LSLGC|Color|Color in LSL}} {{#switch:{{#if:{{{nc|}}}|Template|{{NAMESPACE}}}}|Template=|User=|{{LSLC|Color}}}} }}}}
}}<noinclude>
}}<noinclude>
{{#var:p_{{{1|none}}}_desc}}<br/>
{| {{Prettytable}}
{{#var:p_{{{1|none}}}_hover}}
|-{{Hl2}}
{|
! #var
{{#var:also_articles}}
! value
|-
{{VarPair|p_{{{1|none}}}_desc}}
|-
{{VarPair|p_{{{1|none}}}_hover}}
|-
{{VarPairTable|also_articles}}
|}
|}
</noinclude>
</noinclude>

Revision as of 06:35, 16 April 2009

#var value
p_none_desc color in RGB <R, G, B> (<0.0, 0.0, 0.0> = black, <1.0, 1.0, 1.0> = white)
p_none_hover color in RGB <R, G, B> (<0.0, 0.0, 0.0> = black, <1.0, 1.0, 1.0> = white)
also_articles
•  Color in LSL