Difference between revisions of "User:Strife Onizuka/Sandbox/Switch/Nest2"

From Second Life Wiki
Jump to navigation Jump to search
m
m (please don't let it be #ifexpr)
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#vardefine:s|{{{style|}}}{{#switch:{{{resolution|}}}
{{Multi-lang|category=LSL|2=}}{{LSL Header{{#var:lang}}}} __NOTOC__ <noinclude>
|fixed=text-decoration:line-through;
See [[{{#var:langbase}}/docs{{#var:lang}}]] for documentation.
|misfiled=text-decoration:line-through;color:red;
</noinclude><includeonly>{{#if:{{#var:sort}}||{{#if:{{{sort|}}}|{{#vardefine:sort|{{{sort|}}}}}|{{#if:{{LSL_Sort}}}}}}}}<div id="sort" style="display:none">{{DEFAULTSORT:{{#var:sort}}}}{{#var:sort}}</div>{{#if:{{#var:nofixname}}||{{#if:{{#pos:{{lc:{{FULLPAGENAMEE}}}}|{{lc:{{{func}}}}}}}|<div id="RealTitleBanner" style="display:none"><span id="RealTitle">{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{{func}}}</span></div>}}}}{{#if:
|request=color:darkblue;
 
|=}}}}
{{#vardefine:article_type|function}}
{{!}}-style="vertical-align:top;" id="{{{1}}}"
 
{{!}} style="color:gray;" {{!}} {{#switch:{{#if:{{{type|}}}|{{lc:{{{type|}}}}}|meta}}
{{#vardefine:name|{{{func|}}}}}
|meta= [[Image:Issue Type-Meta.gif|{{#ifeq:{{#if:{{{type|}}}|{{lc:{{{type|}}}}}|meta}}|meta|Meta Issue - Describes a general category of problems rather than a specific problem|{{ucfirst:{{{type|}}}}}}}]]
{{#if:{{{func_id|}}}|{{#vardefine:func_id|{{{func_id|}}}}}}}
|bug=  [[Image:Issue Type-Bug.gif|Bug - A problem which impairs or prevents the functions of the product.]]
 
|imp=  [[Image:Issue Type-Improvement.gif|Improvement - An improvement or enhancement to an existing feature or task.]]
{{#vardefine:mode|{{#var:mode}}{{{mode|}}}}}
|nf|fs=[[Image:Issue Type-New Feature.gif|New Feature - A new feature of the product, which has yet to be developed.]]
{{#vardefine:self|{{#var:self}}{{{self|}}}}}
|task= [[Image:Issue Type-Task.gif|Task - A task that needs to be done.]]
 
|tran= [[Image:Issue Type-Documentation.gif|Translation]]
{{{inject-1|}}}
|sub = [[Image:Issue Type-Subtask.gif|Sub-task - The sub-task of the issue]]
 
}} {{#switch:{{#if:{{{status|}}}|{{lc:{{{status|}}}}}|
{{{{#switch:{{#var:mode}}
{{#ifeq:{{#if:{{{resolution|}}}|{{#lc:{{{resolution|}}}}}|unres}}|unres|open|res}}}}
|god=LSL_Generic/god{{#var:lang}}
|open=[[Image:Status-Open.gif|{{#ifeq:{{#if:{{{status|}}}|{{lc:{{{status|}}}}}|open}}|open|Open - The issue is open and ready for the assignee to start work on it.|{{ucfirst:{{{status|}}}}}}}]]
|request=LSL_Generic/request{{#var:lang}}
|ip  =[[Image:Status-In Progress.gif|In Progress - This issue is being actively worked on at the moment by the assignee.]]
|pre-release=LSL_Generic/pre-release{{#var:lang}}
|reop=[[Image:Status-Reopened.gif|Reopened - This issue was once resolved, but the resolution was deemed incorrect. From here issues are either marked assigned or resolved.]]
|preview=LSL_Generic/preview{{#var:lang}}
|res =[[Image:Status-Resolved.gif|Resolved - A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.]]
|user=!{{#vardefine:moded|u{{#var:moded}}}}
|clo =[[Image:Status-Closed.gif|Closed - The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.]]
|!}}|}}
|fixp=[[Image:Status-In Progress.gif|Fix Pending - Issues that have been fixed in Linden Lab's internal codebase, but not yet deployed in a viewer]]
{{{{#if:{{{deprecated|}}}|LSL_Generic/deprecated{{#var:lang}}|!}}|{{{deprecated|}}}|}}
|rft =[[Image:Status-Open.gif|Ready for Translation]]
 
|tip =[[Image:Status-In Progress.gif|Translation In Progress]]
{{{inject-2|}}}
|tran=[[Image:Status-Up.gif|Translated]]
 
|inqa=[[Image:Status-Down.gif|In QA]]
{{#vardefine:p_{{{p1_name|}}}_desc|{{#var:p_{{{p1_name|}}}_desc}}{{{p1_desc|}}}}}
|pass=[[Image:Status-Closed.gif|Passed QA]]
{{#vardefine:p_{{{p1_name|}}}_hover|{{#var:p_{{{p1_name|}}}_hover}}{{{p1_hover|}}}}}
|tfin=[[Image:Status-Reopened.gif|Translation Final]]
{{#vardefine:p_{{{p2_name|}}}_desc|{{#var:p_{{{p2_name|}}}_desc}}{{{p2_desc|}}}}}
|pub =[[Image:Status-Resolved.gif|Published]]
{{#vardefine:p_{{{p2_name|}}}_hover|{{#var:p_{{{p2_name|}}}_hover}}{{{p2_hover|}}}}}
|hold=[[Image:Status-Need Info.gif|On Hold]]
{{#vardefine:p_{{{p3_name|}}}_desc|{{#var:p_{{{p3_name|}}}_desc}}{{{p3_desc|}}}}}
|eip =[[Image:Status-Reopened.gif|Editing In Progress]]
{{#vardefine:p_{{{p3_name|}}}_hover|{{#var:p_{{{p3_name|}}}_hover}}{{{p3_hover|}}}}}
|eded=[[Image:Status-Resolved.gif|Edited]]
{{#vardefine:p_{{{p4_name|}}}_desc|{{#var:p_{{{p4_name|}}}_desc}}{{{p4_desc|}}}}}
|test=[[Image:Status-In Progress.gif|Testing]]
{{#vardefine:p_{{{p4_name|}}}_hover|{{#var:p_{{{p4_name|}}}_hover}}{{{p4_hover|}}}}}
|veri=[[Image:Status-Resolved.gif|Verified]]
{{#vardefine:p_{{{p5_name|}}}_desc|{{#var:p_{{{p5_name|}}}_desc}}{{{p5_desc|}}}}}
|vfix=[[Image:Status-Resolved.gif|Verified: Fixed]]
{{#vardefine:p_{{{p5_name|}}}_hover|{{#var:p_{{{p5_name|}}}_hover}}{{{p5_hover|}}}}}
|vned=[[Image:Status-Assigned.gif|Verified: Fix Needed]]
{{#vardefine:p_{{{p6_name|}}}_desc|{{#var:p_{{{p6_name|}}}_desc}}{{{p6_desc|}}}}}
|rpub=[[Image:Status-Resolved.gif|Republished]]
{{#vardefine:p_{{{p6_name|}}}_hover|{{#var:p_{{{p6_name|}}}_hover}}{{{p6_hover|}}}}}
}} {{#switch:{{#if:{{{priority|}}}|{{lc:{{{priority|}}}}}|normal}}
{{#vardefine:p_{{{p7_name|}}}_desc|{{#var:p_{{{p7_name|}}}_desc}}{{{p7_desc|}}}}}
|normal=[[Image:Priority-Minor.gif|{{#ifeq:{{#if:{{{priority|}}}|{{lc:{{{priority|}}}}}|normal}}|normal|Normal - Minor loss or impairment of function, other problems which have workarounds, or issues that are extremely simple to fix.|{{ucfirst:{{{priority|}}}}}}}]]
{{#vardefine:p_{{{p7_name|}}}_hover|{{#var:p_{{{p7_name|}}}_hover}}{{{p7_hover|}}}}}
|showstopper=[[Image:Priority-Blocker.gif|Showstopper - ONLY the most severe, *confirmed* issues which demand immediate attention from Linden Lab. For example, inability for many Residents to login. IMPORTANT: Abusing this setting will cause revocation of Issue Tracker access. If in doubt, mark "Critical" instead.]]
{{#vardefine:p_{{{p8_name|}}}_desc|{{#var:p_{{{p8_name|}}}_desc}}{{{p8_desc|}}}}}
|critical=[[Image:Priority-Critical.gif|Critical - Generally, most crashes (particularly if they're easy to reproduce and affect many), content loss, significant memory leaks, greatly reduced performance, etc.]]
{{#vardefine:p_{{{p8_name|}}}_hover|{{#var:p_{{{p8_name|}}}_hover}}{{{p8_hover|}}}}}
|major=[[Image:Priority-Major.gif|Major - Major loss or impairment of function, including rarer crashes.]]
{{#vardefine:p_{{{p9_name|}}}_desc|{{#var:p_{{{p9_name|}}}_desc}}{{{p9_desc|}}}}}
|low=[[Image:Priority-Trivial.gif|Low - Non-critical issues with simple fixes]]
{{#vardefine:p_{{{p9_name|}}}_hover|{{#var:p_{{{p9_name|}}}_hover}}{{{p9_hover|}}}}}
|nice=[[Image:Priority-Trivial.gif|Nice to have - Issues not yet on the Linden Lab roadmap. See WEB-659 for more info.]]
{{#vardefine:p_{{{p10_name|}}}_desc|{{#var:p_{{{p10_name|}}}_desc}}{{{p10_desc|}}}}}
{{#vardefine:p_{{{p10_name|}}}_hover|{{#var:p_{{{p10_name|}}}_hover}}{{{p10_hover|}}}}}
{{#vardefine:p_{{{p11_name|}}}_desc|{{#var:p_{{{p11_name|}}}_desc}}{{{p11_desc|}}}}}
{{#vardefine:p_{{{p11_name|}}}_hover|{{#var:p_{{{p11_name|}}}_hover}}{{{p11_hover|}}}}}
{{#vardefine:p_{{{p12_name|}}}_desc|{{#var:p_{{{p12_name|}}}_desc}}{{{p12_desc|}}}}}
{{#vardefine:p_{{{p12_name|}}}_hover|{{#var:p_{{{p12_name|}}}_hover}}{{{p12_hover|}}}}}
 
{{{inject-3|}}}
 
{{#if:{{#var:header_desc}}{{{func_desc|}}}|
{{#vardefine:header_desc|{{#var:header_desc}}{{PBR}}
{{{func_desc|}}}{{PBR}}}}
}}
 
{{#vardefine:return_text|{{#var:return_text}}{{{return_text|}}}{{{Return_text|}}} }}
 
{{#if:{{#var:header_footnote}}{{{func_footnote|}}}{{{func_footer|}}}|
{{#vardefine:header_footnote|{{#var:header_footnote}}{{PBR}}
{{{func_footnote|}}}{{PBR}}
{{{func_footer|}}}{{PBR}}}}
}}
 
{{#if:{{#var:newbie}}||
{{#vardefine:newbie|{{#if:{{{newbie|}}}|{{{newbie|}}}|{{#var:langbase}}/Newbie Notes{{#var:lang}}}}}}
}}
 
{{#if:{{#var:spec}}{{{spec|}}}|
{{#vardefine:spec|{{#var:spec}}{{PBR}}
{{{spec|}}}{{PBR}}}}
}}
 
{{#if:{{#var:constants_nb}}{{{constants|}}}|
{{#vardefine:constants_nb|{{#var:constants_nb}}{{PBR}}
{{{constants|}}}{{PBR}}}}
}}
 
{{#vardefine:bugs|{{#var:bugs}}
{{{bugs|}}}}}
 
{{#vardefine:caveats|{{IfExpr|{{{func_sleep|0.0}}}> 0.0|* <span id="caveats-sleep"></span> This function causes the script to sleep for {{{func_sleep|}}} seconds. {{{func_sleep_note|}}}|{{#if:{{{func_sleep_note|}}}|* <span id="caveats-sleep"></span> {{{func_sleep_note|}}}}}}}{{#if:{{#var:caveats}}|
{{#var:caveats}}}}{{#if:{{{caveats|}}}|
{{{caveats|}}}}}}}
 
{{#if:{{#pos:{{#var:moded}}|u}}||{{#vardefine:caveats|{{LSL_Generic/Caveats}}}}}}
 
{{#if:{{#var:examples}}{{{examples|}}}|
{{#vardefine:examples|{{#var:examples}}{{PBR}}
{{{examples|}}}{{PBR}}}}
}}
 
{{#vardefine:simple-examples|{{#var:simple-examples}}
{{{simple-examples|}}}}}
 
{{#vardefine:complex-examples|{{#var:complex-examples}}
{{{complex-examples|}}}}}
 
{{#if:{{#var:helpers}}{{{helpers|}}}|
{{#vardefine:helpers|{{#var:helpers}}{{PBR}}
{{{helpers|}}}{{PBR}}}}
}}
 
{{#if:{{#var:also_header}}{{{also_header|}}}|
{{#vardefine:also_header|{{#var:also_header}}{{PBR}}
{{{also_header|}}}{{PBR}}}}
}}
}}
{{!}} style="{{#var:s}}" class="plainlinks" {{!}} {{Jira|{{{1}}}}}
{{!}} style="color:gray;text-decoration:line-through;" {{!}} {{#if:{{{2|}}}| &nbsp;&nbsp; |}}
{{!}} style="{{#var:s}}" {{!}} {{{2|}}}</includeonly><noinclude>


{| {{Prettytable}}
{{#vardefine:also_constants|{{#var:also_constants}}
|- {{hl2}}
{{{also_constants|}}}}}
!Fields
 
!Values
{{#vardefine:also_events|{{#var:also_events}}
|-
{{{also_events|}}}}}
|type
|See '''type''' table
|-
|status
|See '''status''' table
|-
|resolution
|See '''resolution''' table
|-
|priority
|See '''priority''' table
|}


{| {{Prettytable}}
{{#vardefine:also_functions|{{#var:also_functions}}
|+'''type''' parameter accepted values, defaults to Meta Issue
{{{also_functions|}}}}}
|- {{hl2}}
!type
!value
!description
|-
|| [[Image:Issue Type-Bug.gif|Bug}}]]                Bug        || bug  || A problem which impairs or prevents the functions of the product.
|-
|| [[Image:Issue Type-Improvement.gif|Improvement]]  Improvement || imp  || An improvement or enhancement to an existing feature or task.
|-
|| [[Image:Issue Type-Meta.gif|Meta Issue]]          Meta Issue  || meta || Describes a general category of problems rather than a specific problem
|-
|| [[Image:Issue Type-New Feature.gif|New Feature]]  New Feature || nf '''OR''' fs || A new feature of the product, which has yet to be developed.
|-
|| [[Image:Issue Type-Task.gif|Task]]                Task        || task || A task that needs to be done.
|-
|| [[Image:Issue Type-Documentation.gif|Translation]] Translation || tran ||
|-
|| [[Image:Issue Type-Subtask.gif|Sub-task]]        Sub-Task    || sub  || The sub-task of the issue
|}


{| {{Prettytable}}
{{#vardefine:also_articles|{{#var:also_articles}}
|+'''status''' parameter accepted values, defaults to Open
{{{also_articles|}}}}}
|- {{hl2}}
!type
!value
!description
|-
|| [[Image:Status-Open.gif|Open]]                          Open                    || open || The issue is open and ready for the assignee to start work on it.
|-
|| [[Image:Status-In Progress.gif|In Progress]]            In Progress            || ip  || This issue is being actively worked on at the moment by the assignee.
|-
|| [[Image:Status-Reopened.gif|Reopened]]                  Reopened                || reop || This issue was once resolved, but the resolution was deemed incorrect. From here issues are either marked assigned or resolved.
|-
|| [[Image:Status-Resolved.gif|Resolved]]                  Resolved                || res  || A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.
|-
|| [[Image:Status-Closed.gif|Closed]]                      Closed                  || clo  || The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.
|-
|| [[Image:Status-In Progress.gif|Fix Pending]]            Fix Pending            || fixp || Issues that have been fixed in Linden Lab's internal codebase, but not yet deployed in a viewer
|-
|| [[Image:Status-Open.gif|Ready for Translation]]          Ready for Translation  || rft  ||
|-
|| [[Image:Status-In Progress.gif|Translation In Progress]] Translation In Progress || tip  ||
|-
|| [[Image:Status-Up.gif|Translated]]                      Translated              || tran ||
|-
|| [[Image:Status-Down.gif|In QA]]                          In QA                  || inqa ||
|-
|| [[Image:Status-Closed.gif|Passed QA]]                    Passed QA              || pass ||
|-
|| [[Image:Status-Reopened.gif|Translation Final]]          Translation Final      || tfin ||
|-
|| [[Image:Status-Resolved.gif|Published]]                  Published              || pub  ||
|-
|| [[Image:Status-Need Info.gif|On Hold]]                  On Hold                || hold ||
|-
|| [[Image:Status-Reopened.gif|Editing In Progress]]        Editing In Progress    || eip  ||
|-
|| [[Image:Status-Resolved.gif|Edited]]                    Edited                  || eded ||
|-
|| [[Image:Status-In Progress.gif|Testing]]                Testing                || test ||
|-
|| [[Image:Status-Resolved.gif|Verified]]                  Verified                || veri ||
|-
|| [[Image:Status-Resolved.gif|Verified: Fixed]]            Verified: Fixed        || vfix ||
|-
|| [[Image:Status-Assigned.gif|Verified: Fix Needed]]      Verified: Fix Needed    || vned ||
|-
|| [[Image:Status-Resolved.gif|Republished]]                Republished            || rpub ||
|}


{{#vardefine:also_library|{{#var:also_library}}
{{{also_library|}}}}}
{{#if:{{#var:also_footer}}{{{also_footer|}}}|
{{#vardefine:also_footer|{{#var:also_footer}}{{PBR}}
{{{also_footer|}}}{{PBR}}}}
}}


{| {{Prettytable}}
{{#if:{{#var:notes}}{{{notes|}}}|
|+'''resolution''' parameter accepted values, defaults to Unresolved
{{#vardefine:notes|{{#var:notes}}{{PBR}}
|- {{hl2}}
{{{notes|}}}{{PBR}}}}
!resolution
}}
!value
!description
|-
|| Unresolved || unres || Issue has yet to be resolved
|-
|| Fixed || fixed || A fix for this issue is available in a public release
|-
|| Cannot Reproduce || cr || All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.
|-
|| Contact Support || cs || Please contact Linden Lab support at http://secondlife.com/support rather than using this issue tracker
|-
|| Duplicate || dup || The problem is a duplicate of an existing issue.
|-
|| Expected Behavior || expect || Often the system is behaving exactly as designed, but it can look wrong if you're not aware of the reasons behind the behavior. This status is used for such cases.
|-
|| Misfiled || misfiled  || Issue should be somewhere besides this issue tracker
|-
|| Needs More Info || more || The problem is not completely described.
|-
|| Under Advisement || advice || The problem/idea is being evaluated.
|-
|| Won't Finish || wont || The problem described is an issue which likely will never be fixed.
|}


{{#if:{{#var:history}}{{{history|}}}|
{{#vardefine:history|{{#var:history}}{{PBR}}
{{{history|}}}{{PBR}}}}
}}


{| {{Prettytable}}
{{#if:{{#var:deepnotes}}{{{deepnotes|}}}|
|+'''priority''' parameter accepted values, defaults to Normal
{{#vardefine:deepnotes|{{#var:deepnotes}}{{PBR}}
|- {{hl2}}
{{{deepnotes|}}}{{PBR}}}}
!priority
}}
!value
!description
|-
|| [[Image:Priority-Minor.gif|Normal]] Normal || normal || Minor loss or impairment of function, other problems which have workarounds, or issues that are extremely simple to fix.
|-
|| [[Image:Priority-Blocker.gif|Showstopper]] Showstopper || showstopper || ONLY the most severe, *confirmed* issues which demand immediate attention from Linden Lab. For example, inability for many Residents to login. IMPORTANT: Abusing this setting will cause revocation of Issue Tracker access. If in doubt, mark "Critical" instead.
|-
|| [[Image:Priority-Critical.gif|Critical]] Critical || critical || - Generally, most crashes (particularly if they're easy to reproduce and affect many), content loss, significant memory leaks, greatly reduced performance, etc.
|-
||[[Image:Priority-Major.gif|Major]] Major || major || Major loss or impairment of function, including rarer crashes.
|-
||[[Image:Priority-Trivial.gif|Low]] Low || low || Non-critical issues with simple fixes
|-
||[[Image:Priority-Trivial.gif|Nice to have]] Nice to have || nice || Issues not yet on the Linden Lab roadmap. See {{Jira|WEB-659}} for more info.
|}


{|
{{#if:{{#var:mono}}{{{mono|}}}|
{{{{FULLPAGENAME}}|a|resolution{{=}}fixed|resolution=fixed}}
{{#vardefine:mono|{{#var:mono}}{{PBR}}
{{{{FULLPAGENAME}}|a|resolution{{=}}misfiled|resolution=misfiled}}
{{{mono|}}}{{PBR}}}}
{{{{FULLPAGENAME}}|a|resolution{{=}}request|resolution=request}}
}}
{{{{FULLPAGENAME}}|a|blah}}
 
|}</noinclude>
{{#if:{{#var:lso}}{{{lso|}}}|
{{#vardefine:lso|{{#var:lso}}{{PBR}}
{{{lso|}}}{{PBR}}}}
}}
 
{{#vardefine:issues|{{#var:issues}}
{{{issues|}}}}}
 
{{#vardefine:also_tests|{{#var:also_tests}}
{{{also_tests|}}}}}
 
{{#if:{{#var:location}}{{{location|}}}|
{{#vardefine:location|{{#var:location}}{{PBR}}
{{{location|}}}{{PBR}}}}
}}
 
{{#if:{{#var:messaging}}{{{messaging|}}}|
{{#vardefine:messaging|{{#var:messaging}}{{PBR}}
{{{messaging|}}}{{PBR}}}}
}}
 
}}{{#if:{{#var:self}}|| __NOEDITSECTION__
}}{{#var:header}}{{#if:{{#var:func_id}}{{#var:mode}}{{#var:moded}}||
<div id="box" style="background:red;">
&nbsp;&nbsp;'''Don't delete the 'func_id''''
<div style="padding: 0.5em;background:#ffffff;">
''func_id is a bit of technical information that should not be removed as it is pertinent to anyone writing an LSL compiler or decompiler, so you go and revert the page or set the value properly right now :P.''</div></div>{{#if:{{#var:self}}|| [[Category:LSL FixMe]] }} }}{{#if:{{#if:{{{return_type|}}}|{{#var:return_text}}}}{{{func_desc|}}}||<div id="box" style="background:yellow;">
&nbsp;&nbsp;'''Either 'func_desc' or 'return_type' & 'return_text' must be defined'''
<div style="padding: 0.5em;background:#ffffff;">
''(Please use 'return_text' & 'return_type' or 'func_desc' to summarize the functions actions.)''</div></div>{{#if:{{#var:self}}|| [[Category:LSL FixMe]] }} }}
{{RightToc|font-size:80%}}
<div id="box"><h2 style="display:none"> Summary </h2>{{IfExpr|({{#var:BugCounter}} + 0) > 0|<div class="mw-headline" style="float:right; margin: 5px 0.5em 0 0.5em;">{{#tag:imagemap|
Image:Issue_Type-Bug.gif{{!}}Buggy
default [[#{{anchorencode:Important Issues}}|There {{#ifeq:{{#var:BugCounter}}|1|is 1 important Jira Issue|are {{#var:BugCounter}} important Jira Issues}} pertaining to this function.]]
desc none
}}</div>}}<span id="{{anchorencode:Description}}" style="display:none"></span><span id="{{anchorencode:Summary}}" class="mw-headline" style="display:block; padding-bottom:0.17em; padding-top:0.5em; background:transparent none repeat scroll 0% 0%; color:#546368; font-family:Arial,Helvetica,Sans-Serif; background-color:#F4F8FB; border-bottom:1px dotted #AAAAAA; font-size:120%; font-weight:bold; margin:0pt; padding:0.2em 0.5em; text-align:left;"> [[:Category:LSL_Functions{{#var:lang}}|Function]]: {{#if:{{{return_type|}}}|[[{{{return_type|}}}{{#var:lang}}|{{{return_type|}}}]]||}} [[{{{func}}}{{#var:lang}}|{{{func}}}]]( {{#if:{{{p1_name|}}}{{{p1_type|}}}| [[{{{p1_type|}}}{{#var:lang}}|{{{p1_type|}}}]] {{LSL Param|{{{p1_name|}}}}}{{#if:{{{p2_name|}}}{{{p2_type|}}}|, [[{{{p2_type|}}}{{#var:lang}}|{{{p2_type|}}}]] {{LSL Param|{{{p2_name|}}}}}{{#if:{{{p3_name|}}}{{{p3_type|}}}|, [[{{{p3_type|}}}{{#var:lang}}|{{{p3_type|}}}]] {{LSL Param|{{{p3_name|}}}}}{{#if:{{{p4_name|}}}{{{p4_type|}}}|, [[{{{p4_type|}}}{{#var:lang}}|{{{p4_type|}}}]] {{LSL Param|{{{p4_name|}}}}}{{#if:{{{p5_name|}}}{{{p5_type|}}}|, [[{{{p5_type|}}}{{#var:lang}}|{{{p5_type|}}}]] {{LSL Param|{{{p5_name|}}}}}{{#if:{{{p6_name|}}}{{{p6_type|}}}|, [[{{{p6_type|}}}{{#var:lang}}|{{{p6_type|}}}]] {{LSL Param|{{{p6_name|}}}}}{{#if:{{{p7_name|}}}{{{p7_type|}}}|, [[{{{p7_type|}}}{{#var:lang}}|{{{p7_type|}}}]] {{LSL Param|{{{p7_name|}}}}}{{#if:{{{p8_name|}}}{{{p8_type|}}}|, [[{{{p8_type|}}}{{#var:lang}}|{{{p8_type|}}}]] {{LSL Param|{{{p8_name|}}}}}{{#if:{{{p9_name|}}}{{{p9_type|}}}|, [[{{{p9_type|}}}{{#var:lang}}|{{{p9_type|}}}]] {{LSL Param|{{{p9_name|}}}}}{{#if:{{{p10_name|}}}{{{p10_type|}}}|, [[{{{p10_type|}}}{{#var:lang}}|{{{p10_type|}}}]] {{LSL Param|{{{p10_name|}}}}}{{#if:{{{p11_name|}}}{{{p11_type|}}}|, [[{{{p11_type|}}}{{#var:lang}}|{{{p11_type|}}}]] {{LSL Param|{{{p11_name|}}}}}{{#if:{{{p12_name|}}}{{{p12_type|}}}|, [[{{{p12_type|}}}{{#var:lang}}|{{{p12_type|}}}]] {{LSL Param|{{{p12_name|}}}}}}}}}}}}}}}}}}}}}}}}}}}}} )<nowiki>;</nowiki></span>
<div style="padding: 0.5em; min-height: {{#if:{{{func_complexity|}}}|6em;|5em;}}">{{#if:{{#pos:{{#var:moded}}|u}}|{{#if:{{#var:floater}}|<div id="box" style="float:right;">{{#var:floater}}</div>}}|<div id="box" style="float:right; margin: 0 0.5em; font-size:90%;">
{{{!}} class="collapsible"
{{!}}- style="font-size:75%;"
{{!}}+
{{!}}-
{{!}} {{HoverText|{{#var:func_id}}|The function index number.}}
{{!}} [[LSL Function ID{{#var:lang}}|Function ID]]
{{!}}-
{{!}} {{HoverText|{{{func_sleep|}}}|The number of seconds this script will sleep after executing this function.}}{{#if:{{{func_sleep_note|}}}|{{HoverLink|#caveats-sleep|3=*|2={{{func_sleep_note|}}}}}}}
{{!}} [[LSL Delay{{#var:lang}}|Delay]]
{{!}}-
{{#if:{{{func_complexity|}}}|
{{!}} {{HoverText|{{{func_complexity|}}}|The complexity of the function based on the parameters.}}
{{!}} [[LSL Complexity{{#var:lang}}|Compl.]]
{{!}}-}}
{{!}} {{HoverText|{{{func_energy|}}}|The quantity of energy consumed by this function.}}
{{!}} [[Energy{{#var:lang}}|Energy]]
{{!}}}</div>}}
{{#if:{{#var:header_desc}}|{{#var:header_desc}}{{PBR}}{{#if:{{{return_type|}}}|<br id="bdart"/>}}}}{{#if:{{{return_type|}}}| Returns {{It|{{{return_type|}}}|{{{Return_text|}}}}} {{#if:{{#var:return_text}}| {{#var:return_text}} }}{{PBR}}}}
{{#if:{{{p1_name|}}}{{{p1_type|}}}|{{{!}}
{{LSL DefineRow|1={{{p1_type|}}}|2={{{p1_name|}}}|3={{#var:p_{{{p1_name|}}}_desc}}}}
{{#if:{{{p2_name|}}}{{{p2_type|}}}|{{LSL DefineRow|1={{{p2_type|}}}|2={{{p2_name|}}}|3={{#var:p_{{{p2_name|}}}_desc}}}}
{{#if:{{{p3_name|}}}{{{p3_type|}}}|{{LSL DefineRow|1={{{p3_type|}}}|2={{{p3_name|}}}|3={{#var:p_{{{p3_name|}}}_desc}}}}
{{#if:{{{p4_name|}}}{{{p4_type|}}}|{{LSL DefineRow|1={{{p4_type|}}}|2={{{p4_name|}}}|3={{#var:p_{{{p4_name|}}}_desc}}}}
{{#if:{{{p5_name|}}}{{{p5_type|}}}|{{LSL DefineRow|1={{{p5_type|}}}|2={{{p5_name|}}}|3={{#var:p_{{{p5_name|}}}_desc}}}}
{{#if:{{{p6_name|}}}{{{p6_type|}}}|{{LSL DefineRow|1={{{p6_type|}}}|2={{{p6_name|}}}|3={{#var:p_{{{p6_name|}}}_desc}}}}
{{#if:{{{p7_name|}}}{{{p7_type|}}}|{{LSL DefineRow|1={{{p7_type|}}}|2={{{p7_name|}}}|3={{#var:p_{{{p7_name|}}}_desc}}}}
{{#if:{{{p8_name|}}}{{{p8_type|}}}|{{LSL DefineRow|1={{{p8_type|}}}|2={{{p8_name|}}}|3={{#var:p_{{{p8_name|}}}_desc}}}}
{{#if:{{{p9_name|}}}{{{p9_type|}}}|{{LSL DefineRow|1={{{p9_type|}}}|2={{{p9_name|}}}|3={{#var:p_{{{p9_name|}}}_desc}}}}
{{#if:{{{p10_name|}}}{{{p10_type|}}}|{{LSL DefineRow|1={{{p10_type|}}}|2={{{p10_name|}}}|3={{#var:p_{{{p10_name|}}}_desc}}}}
{{#if:{{{p11_name|}}}{{{p11_type|}}}|{{LSL DefineRow|1={{{p11_type|}}}|2={{{p11_name|}}}|3={{#var:p_{{{p11_name|}}}_desc}}}}
{{#if:{{{p12_name|}}}{{{p12_type|}}}|{{LSL DefineRow|1={{{p12_type|}}}|2={{{p12_name|}}}|3={{#var:p_{{{p12_name|}}}_desc}}}}
}}}}}}}}}}}}}}}}}}}}}}
{{!}}}
}}{{#if:{{#var:header_footnote}}|
<div style="margin-top:0.5em;"></div>
{{#var:header_footnote}}
}}</div>
</div>{{#ifexist:{{#var:newbie}}|<div id="box">
<h2>[[{{#var:newbie}}|Newbie Notes]]</h2>
<div style="padding: 0.5em; max-height:10em; overflow-x:visible; overflow-y:auto;">
{{:{{#var:newbie}}}}
</div><div style="padding:0 0.5em;">
To continue reading see: [[{{#var:newbie}}|Newbie Notes]]
</div></div>}}{{#if:{{#var:spec}}|<div id="box">
<h2>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>Constants</h2>
{{#var:constants}}
</div>}}}}{{#if:{{#var:caveats}}|<div id="box">
<h2>Caveats</h2>
<div style="padding: 0.5em;">
{{#var:caveats}}
</div></div>}}{{#if:{{#if:{{#var:deprecated}}||t}}{{#var:examples}}{{#simple-examples}}{{#complex-examples}}|<div id="box">
<h2>Examples</h2>
<div style="padding: 0.5em;">
{{#var:examples}}{{#if:{{#var:simple-examples}}|
<div style="float:left; min-width:200px; width:45%;">
===Simple Examples===
{{{!}}
{{#var:simple-examples}}
{{!}}}
</div>}}{{#if:{{#var:complex-examples}}|
<div style="float:left;">
===Complex Examples===
{{{!}}
{{#var:complex-examples}}
{{!}}}
</div>}}<div style="clear:left;"></div>
</div></div>}}{{#if:{{#var:helpers}}|<div id="box">
<h2>Useful Snippets</h2>
<div style="padding: 0.5em;">
{{#var:helpers}}
</div></div>}}{{#if:{{#var:notes}}|<div id="box">
<h2>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_header}}{{#var:also_library}}{{#var:also_constants}}|<div id="box">
<h2>See Also</h2>
<div style="padding: 0.5em;">
{{#if:{{#var:also_header}}|<div>
{{#var:also_header}}
</div>}}{{#if:{{#var:also_constants}}|
<h3>Constants</h3>
{{{!}}
{{#var:also_constants}}
{{!}}} }}{{#if:{{#var:also_events}}|
<h3>Events</h3>
{{{!}}
{{#var:also_events}}
{{!}}} }}{{#if:{{#var:also_functions}}|
<h3>Functions</h3>
{{{!}}
{{#var:also_functions}}
{{!}}} }}{{#if:{{#var:also_articles}}|
<h3>Articles</h3>
{{{!}}
{{#var:also_articles}}
{{!}}} }}{{#if:{{#var:also_library}}|
<h3>Libraries and Examples</h3>
{{{!}}
{{#var:also_library}}
{{!}}} }}{{#if:{{#var:also_footer}}|
<div style="margin-top:0.5em;">
{{#var:also_footer}}
</div>}}
</div></div>}}
<div id="box">
== Deep Notes ==
<div style="padding: 0.5em"><div>
{{#var:deepnotes}}
</div>{{#if:{{#var:mono}}|
<h4> Mono VM Notes </h4><div>
{{#var:mono}}
</div>}}{{#if:{{#var:lso}}|
<h4> LSO VM Notes </h4><div>
{{#var:lso}}
</div>}}{{#if:{{#var:history}}|
<h4> History </h4><div>
{{#var:history}}
</div>}}
{{Anchor|Issues}}{{LSL_Generic/Issues}}{{#if:{{#var:also_tests}}|
<h3>Tests</h3>
{{{!}}
{{#var:also_tests}}
{{!}}}
}}{{#if:{{#var:location}}|
<h4> Source </h4><div>
{{#var:location}}
</div>}}{{#if:{{#var:messaging}}|
<h4> Messaging </h4><div>
{{#var:messaging}}
</div>}}{{#if:{{#var:footnotes}}|
<h4 style="margin-bottom:0;"> Footnotes </h4>
{{{{#if:{{#var:footnotes}}|Footnotes|!}}|}}
}}
</div></div>{{#if:{{{comments|}}}|<div id="box">
<h2>Comments</h2>
<div style="padding: 0.5em;">
{{{comments|}}}
</div></div>}}
<div style="display:none" class="hidden-text" id="hidden-text">{{#var:hidden-text}}</div>
{{#var:footer}} {{#if:{{#var:self}}|| {{#if:{{#pos:{{#var:moded}}|r}}{{#pos:{{#var:moded}}|u}}|| [[Category:LSL Functions{{#var:lang}}]] {{#if:{{#pos:{{#var:moded}}|f}}||{{IfExpr|({{#var:BugCounter}} + 0) > 0|[[Category:LSL topics with bugs{{#var:lang}}]] [[Category:LSL topics with the most bugs{{#var:lang}}| {{#pad:{{#expr:100-{{#var:BugCounter}}}}|2|0}}{{PAGENAME}}]]}}}} {{#iferror:{{#expr:{{#var:func_id}}}}|[[Category:LSL Functions/Without IDs{{#var:lang}}]]|[[Category:LSL Functions/ID{{#var:lang}}| {{padleft:{{#var:func_id}}|5|0}}]]}} {{#if:{{#var:examples}}||[[Category:LSL Needs Example{{#var:lang}}]]}} {{LSL Unhelpful|{{{func}}}|}} }} {{#if:{{{cat1|}}}|[[Category:LSL {{{cat1}}}{{#var:lang}}]]}} {{#if:{{{cat2|}}}|[[Category:LSL {{{cat2}}}{{#var:lang}}]]}} {{#if:{{{cat3|}}}|[[Category:LSL {{{cat3}}}{{#var:lang}}]]}} {{#if:{{{cat4|}}}|[[Category:LSL {{{cat4}}}{{#var:lang}}]]}} {{#if:{{{cat5|}}}|[[Category:LSL {{{cat5}}}{{#var:lang}}]]}} {{#if:{{{cat6|}}}|[[Category:LSL {{{cat6}}}{{#var:lang}}]]}} {{#if:{{{cat7|}}}|[[Category:LSL {{{cat7}}}{{#var:lang}}]]}} {{#if:{{{cat8|}}}|[[Category:LSL {{{cat8}}}{{#var:lang}}]]}} }}</includeonly>

Latest revision as of 16:41, 17 December 2010