Difference between revisions of "Template:LSL Conditional"

From Second Life Wiki
Jump to navigation Jump to search
Line 53: Line 53:
|p6_name=v|p6_desc=v
|p6_name=v|p6_desc=v
|p7_name=r|p7_desc=r
|p7_name=r|p7_desc=r
|constants=constants
|spec=spec
|spec=spec
|caveats=caveats
|caveats=caveats
Line 104: Line 103:
|p11_name={{{p11_name|}}}|p12_name={{{p12_name|}}}}}
|p11_name={{{p11_name|}}}|p12_name={{{p12_name|}}}}}
|deprecated={{{deprecated|}}}
|deprecated={{{deprecated|}}}
|constants_nb={{{constants|}}}
|constants_nb==<div id="box">
== Conditional Types ==
<div style="padding: 0.5em">
{{{!}}
{{!}}{{LSLG|integer}}
{{!}}True if it is not zero.
{{!}}-
{{!}}{{LSLG|float}}
{{!}}True if it is not zero.
{{!}}-
{{!}}{{LSLG|string}}
{{!}}True if its length is not zero.
{{!}}-
{{!}}{{LSLG|key}}
{{!}}True if it is a valid key with the condition that it cannot be {{LSLG|NULL_KEY}}.
{{!}}-
{{!}}{{LSLG|vector}}
{{!}}True if the vector is not ZERO_VECTOR.
{{!}}-
{{!}}{{LSLG|rotation}}
{{!}}True if not rotation is not a ZERO_ROTATION.
{{!}}-
{{!}}{{LSLG|list}}
{{!}}<strike>True if the length is not zero.</strike><br/>[https://jira.secondlife.com/browse/SVC-9 Jira:SVC-9]
{{!}}}
</div>
</div>
|spec={{{spec|}}}
|spec={{{spec|}}}
|caveats={{{caveats|}}}
|caveats={{{caveats|}}}

Revision as of 12:24, 8 February 2007

{{LSL_Conditional
|statement
|statement_header
|statement_desc
|statement_end
|statement_end_desc
|p1_name|p1_desc
|p2_name|p2_desc
|p3_name|p3_desc
|p4_name|p4_desc
|p5_name|p5_desc
|p6_name|p6_desc
|p7_name|p7_desc
|p8_name|p8_desc
|p9_name|p9_desc
|p10_name|p10_desc
|p11_name|p11_desc
|p12_name|p12_desc
|constants
|spec
|caveats
|examples
|helpers
|also_header
|also_functions
|also_tests
|also_articles
|also_footer
|notes
|mode
|deprecated
|cat1
|cat2
|cat3
|cat4
}}