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

From Second Life Wiki
Jump to navigation Jump to search
m
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#vardefine:p_{{{1|}}}_desc|{{LSLGC|Color|color}} in RGB, {{LSL_VR|0.0, 0.0, 0.0}} = black, {{LSL_VR|1.0, 1.0, 1.0}} = white)}}{{#vardefine:also_articles|{{#var:also_articles}}
{{LSL Injection Test}}{{#if:
{{LSL DefineRow||{{LSLGC|Color|Color in LSL}}}}}}<includeonly>{{LSLC|Color}}</includeonly>
 
{{#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}} &#61; black, {{LSL_VR|1.0, 1.0, 1.0}} &#61; white)}}
 
{{#vardefine:p_{{{1|none}}}_hover|color in RGB {{LSL_VR|R, G, B}} ({{LSL_VR|0.0, 0.0, 0.0}} &#61; black, {{LSL_VR|1.0, 1.0, 1.0}} &#61; white)}}
 
{{#vardefine:also_articles|{{#var:also_articles}}
{{LSL DefineRow||{{LSLGC|Color|Color in LSL}} {{#switch:{{#if:{{{nc|}}}|Template|{{NAMESPACE}}}}|Template=|User=|{{LSLC|Color}}}} }}}}
 
}}<noinclude>
{| {{Prettytable}}
|-{{Hl2}}
! #var
! value
|-
{{VarPair|p_{{{1|none}}}_desc}}
|-
{{VarPair|p_{{{1|none}}}_hover}}
|-
{{VarPairTable|also_articles}}
|}
</noinclude>

Latest revision as of 21:44, 10 June 2012

#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