Difference between revisions of "Template:LSL Conditional"

From Second Life Wiki
Jump to navigation Jump to search
Line 106: Line 106:
== Conditional Types ==
== Conditional Types ==
<div style="padding: 0.5em">
<div style="padding: 0.5em">
{{{!}}
{{{!}} {{Prettytable}}
{{!}}{{LSLG|integer}}
{{!}}{{LSLG|integer}}
{{!}}True if it is not zero.
{{!}}True if it is not zero.
Line 146: Line 146:
|template=LSLG
|template=LSLG
|footer={{#if: {{{no_footer|}}}||:<div style="font-size:x-small;">This page is based on information gathered from the Second Life client {{HoverText|source|'linden\indra\newview\app_settings\keywords.ini'}}, and as such has additional [http://secondlife.com/developers/opensource/licenses licensing restrictions].</div>}}
|footer={{#if: {{{no_footer|}}}||:<div style="font-size:x-small;">This page is based on information gathered from the Second Life client {{HoverText|source|'linden\indra\newview\app_settings\keywords.ini'}}, and as such has additional [http://secondlife.com/developers/opensource/licenses licensing restrictions].</div>}}
}}{{#if:{{{self|}}}|| {{#ifeq:{{{mode|}}}|request||{{LSLC|Flow Control|{{{statement|}}}}}}} {{#if:{{{cat1|}}}|{{LSLC|{{{cat1}}}|{{{statement|}}}}}}} {{#if:{{{cat2|}}}|{{LSLC|{{{cat2}}}|{{{statement|}}}}}}} {{#if:{{{cat3|}}}|{{LSLC|{{{cat3}}}|{{{statement|}}}}}}} {{#if:{{{cat4|}}}|{{LSLC|{{{cat4}}}|{{{statement|}}}}}}}}}</includeonly>
}}{{#if:{{{self|}}}|| {{#ifeq:{{{mode|}}}|request||{{LSLC|Flow Control|{{{statement|}}}}}}} {{#if:{{{cat1|}}}|{{LSLC|{{{cat1}}}|{{{statement|}}}}}}} {{#if:{{{cat2|}}}|{{LSLC|{{{cat2}}}|{{{statement|}}}}}}} {{#if:{{{cat3|}}}|{{LSLC|{{{cat3}}}|{{{statement|}}}}}}} {{#if:{{{cat4|}}}|{{LSLC|{{{cat4}}}|{{{statement|}}}}}}}}} </includeonly>

Revision as of 13:32, 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
}}