Difference between revisions of "Template:LSL Conditional"

From Second Life Wiki
Jump to navigation Jump to search
(Getting ready for the big update)
Line 1: Line 1:
{{LSL Header}} __NOTOC__ <noinclude>
<pre>
{{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
}}
</pre>


<div id="box">
{{LSL_Conditional
|statement=funckyloop
|statement_desc=A fictitious statement type
|statement_type=statement_type
|statement_end=statement_end
|statement_end_desc=statement_end_desc
|p1_name=i|p1_desc=i
|p2_name=f|p2_desc=f
|p3_name=s|p3_desc=s
|p4_name=k|p4_desc=k
|p5_name=l|p5_desc=l
|p6_name=v|p6_desc=v
|p7_name=r|p7_desc=r
|spec=spec
|caveats=caveats
|examples=examples
|helpers=helpers
|also_header=also_header
|also_events=
*also_events
|also_functions=
*also_functions
|also_tests=
*also_tests
|also_articles=
*also_articles
|also_footer=also_footer
|notes=notes
|mode
|self=self
}}
</div>
</noinclude><includeonly>{{LSL Generic
|{{{statement}}}|
|header_floater
|header_text={{LSL_Generic/Text
|header_desc={{{statement_type|}}}
|header_footnote={{{statement_desc|}}}
|pe_name={{{statement_end|}}}|pe_desc={{{statement_end_desc|}}}
|p1_name={{{p1_name|}}}|p1_desc={{{p1_desc|}}}
|p2_name={{{p2_name|}}}|p2_desc={{{p2_desc|}}}
|p3_name={{{p3_name|}}}|p3_desc={{{p3_desc|}}}
|p4_name={{{p4_name|}}}|p4_desc={{{p4_desc|}}}
|p5_name={{{p5_name|}}}|p5_desc={{{p5_desc|}}}
|p6_name={{{p6_name|}}}|p6_desc={{{p6_desc|}}}
|p7_name={{{p7_name|}}}|p7_desc={{{p7_desc|}}}
|p8_name={{{p8_name|}}}|p8_desc={{{p8_desc|}}}
|p9_name={{{p9_name|}}}|p9_desc={{{p9_desc|}}}
|p10_name={{{p10_name|}}}|p10_desc={{{p10_desc|}}}
|p11_name={{{p11_name|}}}|p11_desc={{{p11_desc|}}}
|p12_name={{{p12_name|}}}|p12_desc={{{p12_desc|}}}}}
|header_title={{#if:{{{statement_title|}}}|{{{statement_title|}}}|{{LSL_Generic/Title
|name={{{statement}}}
|template=none
|separator=<nowiki>;</nowiki>|
|return_end=&nbsp;{{{statement_end|}}}
|p1_name={{{p1_name|}}}|p2_name={{{p2_name|}}}
|p3_name={{{p3_name|}}}|p4_name={{{p4_name|}}}
|p5_name={{{p5_name|}}}|p6_name={{{p6_name|}}}
|p7_name={{{p7_name|}}}|p8_name={{{p8_name|}}}
|p9_name={{{p9_name|}}}|p10_name={{{p10_name|}}}
|p11_name={{{p11_name|}}}|p12_name={{{p12_name|}}}}}}}
|deprecated={{{deprecated|}}}
|constants_nb={{LSL Constants Conditional}}
|spec={{{spec|}}}
|caveats={{{caveats|}}}
|examples={{{examples|}}}
|helpers={{{helpers|}}}
|also_header={{{also_header|}}}
|also_events={{{also_events|}}}
|also_functions={{{also_functions|}}}
|also_tests={{{also_tests|}}}
|also_articles={{{also_articles|}}}
|also_footer={{{also_footer|}}}
|notes={{{notes|}}}
|mode={{{mode|}}}
|self={{{self|}}}
|type=event
|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>}}
}}{{#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 12:31, 20 February 2007