Difference between revisions of "Template:LSL Conditional"
Jump to navigation
Jump to search
Line 79: | Line 79: | ||
''' 'statement_desc' can not be undefined''' | ''' 'statement_desc' can not be undefined''' | ||
<div style="padding: 0.5em;background:#ffffff;"> | <div style="padding: 0.5em;background:#ffffff;"> | ||
''(Please define a value for 'event_desc' to describe the events actions.)''</div></div>{{#if:{{{self|}}}|| {{LSLC|FixMe}} }} }}{{#vardefine:separator|<nowiki>;</nowiki>}}{{#vardefine:header_text|{{LSL_Generic/Text}}}}{{#vardefine:header_title|{{#if:{{{statement_title|}}}|{{{statement_title|}}}|{{LSL_Generic/Title}}}}}}{{ | ''(Please define a value for 'event_desc' to describe the events actions.)''</div></div>{{#if:{{{self|}}}|| {{LSLC|FixMe}} }} }}{{#vardefine:separator|<nowiki>;</nowiki>}}{{#vardefine:header_text|{{LSL_Generic/Text}}}}{{#vardefine:header_title|{{#if:{{{statement_title|}}}|{{{statement_title|}}}|{{LSL_Generic/Title}}}}}}__NOTOC__ {{#vardefine:t|{{#pos:{{lc:{{PAGENAMEE}}}}|{{lc:{{#var:name}}}}}}}}{{#vardefine:t|{{#if:{{#var:t}}|{{#var:t}}|-1}}}}{{#ifexpr:not {{#var:t}} and {{#ifeq:{{#sub:{{ucfirst:{{#var:name}}}}|0|1}}|{{#sub:{{#var:name}}|0|1}}|0|1}}|{{lowercase}}}} {{#if:{{#var:P_Rendered}}|| | ||
{{#vardefine:P_Rendered|t}} {{#if:{{#var:self}}|| __NOEDITSECTION__ }} {{#var:header}} | |||
{{{!}} width="100%" | |||
{{!}}- | |||
{{!}} valign="top" {{!}} <div id="box"> | |||
<h2>{{#var:header_title}}</h2> | |||
<div style="padding: 0.5em">{{#if:{{#var:header_floater}}|<div id="box" style="float:right;">{{#var:header_floater}}</div>}} | |||
{{#var:header_text}} | |||
{{#if:{{#var:header_floater}}|<div style="clear:right;" ></div>}} | |||
</div></div> | |||
{{#if:{{#var:spec}}|{{!}}- | |||
{{!}}<div id="box"> | |||
<h2>{{#if:{{#var:T_Specification}}|{{#var:T_Specification}}|Specification}}</h2> | |||
<div style="padding: 0.5em"> | |||
{{#var:spec}} | |||
</div></div>}} | |||
{{!}}- | |||
{{#if:{{#var:constants_nb}}{{#var:constants}}| | |||
{{!}}{{#var:constants_nb}}{{#if:{{#var:constants}}| | |||
<div id="box"><h2>{{#if:{{#var:T_Constants}}|{{#var:T_Constants}}|Constants}}</h2> | |||
{{#var:constants}} | |||
</div>}}}} | |||
{{!}}- | |||
{{#if:{{#var:caveats}}| | |||
{{!}}<div id="box"><h2>{{#if:{{#var:T_Caveats}}|{{#var:T_Caveats}}|Caveats}}</h2> | |||
<div style="padding: 0.5em"> | |||
{{#var:caveats}} | |||
</div></div>}} | |||
{{!}}- | |||
{{#if:{{#if:{{#var:deprecated}}||t}}{{#var:examples}}| | |||
{{!}}<div id="box"><h2>{{#if:{{#var:T_Examples}}|{{#var:T_Examples}}|Examples}}</h2> | |||
<div style="padding: 0.5em"> | |||
{{#var:examples}} | |||
</div></div>}} | |||
{{!}}- | |||
{{#if:{{#var:helpers}}| | |||
{{!}}<div id="box"><h2>{{#if:{{#var:T_Useful_Snippets}}|{{#var:T_Useful_Snippets}}|Useful Snippets}}</h2> | |||
<div style="padding: 0.5em"> | |||
{{#var:helpers}} | |||
</div></div>}} | |||
{{!}}- | |||
{{#if:{{#var:notes}}| | |||
{{!}}<div id="box"><h2>{{#if:{{#var:T_Notes}}|{{#var:T_Notes}}|Notes}}</h2> | |||
<div style="padding: 0.5em"> | |||
{{#var:notes}} | |||
</div></div>}} | |||
{{!}}- | |||
{{#if:{{#var:also_footer}}{{#var:also_functions}}{{#var:also_events}}{{#var:also_articles}}{{#var:also_tests}}{{#var:also_header}}| | |||
{{!}}<div id="box"><h2>{{#if:{{#var:T_See_Also}}|{{#var:T_See Also}}|See Also}}</h2> | |||
<div style="padding: 0.5em"> | |||
{{#if:{{#var:also_header}}| | |||
{{#var:also_header}}}}{{#if:{{#var:also_events}}| | |||
<h3>{{#if:{{#var:T_Also_Events}}|{{#var:T_Also_Events}}|Events}}</h3> | |||
{{{!}} | |||
{{#var:also_events}} | |||
{{!}}} }}{{#if:{{#var:also_functions}}| | |||
<h3>{{#if:{{#var:T_Also_Functions}}|{{#var:T_Also_Functions}}|Functions}}</h3> | |||
{{{!}} | |||
{{#var:also_functions}} | |||
{{!}}} }}{{#if:{{#var:also_tests}}| | |||
<h3>{{#if:{{#var:T_Also_Tests}}|{{#var:T_Also_Tests}}|Tests}}</h3> | |||
{{{!}} | |||
{{#var:also_tests}} | |||
{{!}}} }}{{#if:{{#var:also_articles}}| | |||
<h3>{{#if:{{#var:T_Also_Articles}}|{{#var:T_Also_Articles}}|Articles}}</h3> | |||
{{{!}} | |||
{{#var:also_articles}} | |||
{{!}}} }} | |||
{{#if:{{#var:also_footer}}|<br/>{{#var:also_footer}}}} | |||
</div></div>}} | |||
{{!}}- | |||
{{#if:{{#var:location}}| | |||
{{!}} | |||
<div id="box"> | |||
<h2>{{#if:{{#var:T_Source_Location}}|{{#var:T_Source_Location}}|Source Location}}</h2> | |||
<div style="padding: 0.5em"> | |||
{{#var:location}} | |||
</div></div>}} | |||
{{!}}} | |||
{{#var:footer}}<span id="sort" style="visibility:hidden">{{#var:sort}}</span>}}{{#if:{{{self|}}}|| {{#ifeq:{{#var:mode}}|request||{{LSLC|Flow Control|{{#var:sort}}}}}} {{#if:{{#var:examples}}||{{LSLC|Needs Example|{{#var:sort}}}}}} {{#if:{{{cat1|}}}|{{LSLC|{{{cat1}}}|{{#var:sort}}}}}} {{#if:{{{cat2|}}}|{{LSLC|{{{cat2}}}|{{#var:sort}}}}}} {{#if:{{{cat3|}}}|{{LSLC|{{{cat3}}}|{{#var:sort}}}}}} {{#if:{{{cat4|}}}|{{LSLC|{{{cat4}}}|{{#var:sort}}}}}} {{#if:{{{cat5|}}}|{{LSLC|{{{cat5}}}|{{#var:sort}}}}}} {{#if:{{{cat6|}}}|{{LSLC|{{{cat6}}}|{{#var:sort}}}}}} }}</includeonly> |
Revision as of 18:43, 6 March 2007
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
{{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 }}
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
funckyloop( i; f; s; k; l; v; r ) statement_endstatement_type
| ||||||||||||||||||||||||||||||||||||||||
Specification
spec | ||||||||||||||||||||||||||||||||||||||||
Caveatscaveats | ||||||||||||||||||||||||||||||||||||||||
Examplesexamples | ||||||||||||||||||||||||||||||||||||||||
Useful Snippetshelpers | ||||||||||||||||||||||||||||||||||||||||
Notesnotes | ||||||||||||||||||||||||||||||||||||||||
See Also
also_header Events
Functions
Tests
Articles
|
Funckyloop