Difference between revisions of "Template:LSL Generic"

From Second Life Wiki
Jump to navigation Jump to search
m
 
(45 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOTOC__ <noinclude>
__NOTOC__ <noinclude>
<pre>
See [[{{FULLPAGENAME}}/docs]] for documentation.{{#if:
{{LSL Generic
 
|name
{{#vardefine:also_header|header}}
|header_desc
{{#vardefine:also_events|{{!}}events}}
|header_footnote
{{#vardefine:also_tests|{{!}}tests}}
|header_floater
{{#vardefine:also_articles|{{!}}articles}}
|footer
{{#vardefine:also_functions|{{!}}functions}}
|deprecated
{{#vardefine:also_footer|footer}}
|p1_type|p1_name|p1_desc
{{#vardefine:examples|examples}}
|p2_type|p2_name|p2_desc
{{#vardefine:constants_nb|constants_nb}}
|p3_type|p3_name|p3_desc
{{#vardefine:notes|notes}}
|p4_type|p4_name|p4_desc
{{#vardefine:caveats|caveats}}
|p5_type|p5_name|p5_desc
{{#vardefine:spec|spec}}
|p6_type|p6_name|p6_desc
{{#vardefine:header_title|header_title}}
|p7_type|p7_name|p7_desc
{{#vardefine:header_text|header_text}}
|p8_type|p8_name|p8_desc
{{#vardefine:header_floater|header_floater}}
|p9_type|p9_name|p9_desc
{{#vardefine:search|search}}
|p10_type|p10_name|p10_desc
 
|p11_type|p11_name|p11_desc
<!-- -->
|p12_type|p12_name|p12_desc
 
|return_type
}}</noinclude><onlyinclude>{{#if:
|return_text
 
|return_end
{{#vardefine:t|{{#pos:{{lc:{{PAGENAMEE}}}}|{{lc:{{#var:name}}}}}}}}
|constants
 
|spec
{{#vardefine:caveats|{{#if:{{#var:caveats}}|
|caveats
{{#var:caveats}}}}
|examples
{{#ifeq:{{#var:mode}}|user||{{#if:{{#var:bugs}}|<h3 style="display:inline; line-height:2em;">Important Issues </h3>{{#if:{{#var:search}}|~ {{JiraSearch/1|1={{#var:search}}|2=Search JIRA for related Bugs}}}}
|helpers
{{{!}} style="font-size:80%; line-height:1.1em;"  
|also_header
{{#var:bugs}}
|also_functions
{{!}}}|{{#if:{{#var:search}}|{{PBR}}{{JiraSearch/1|1={{#var:search}}|2=Search JIRA for related Bugs}}|}}}}}}}}
|also_articles
|also_footer
|notes
|mode
|template
}}
</pre>
</noinclude><includeonly> {{#if:{{{self|}}}|| __NOEDITSECTION__ }} {{#if:{{{depreciated|}}}{{{deprecated|}}}|
<div id="box" style="background:red;">
&nbsp;&nbsp;'''Deprecated {{{type}}}'''
<div style="padding: 0.5em;background:#ffffff;">
''(This {{{type}}} has been deprecated{{#ifeq:{{{depreciated|}}}{{{deprecated|}}}|none|.|, please use {{LSLG|{{{depreciated|}}}{{{deprecated|}}}}} instead.)}}''</div></div>{{#if:{{{self|}}}|| {{LSLC|Deprecated|{{{sort|}}}}} }} |}}{{#ifeq:{{{mode|}}}|request|
<div id="box" style="background:red;">
&nbsp;&nbsp;'''LSL Feature Request'''
<div style="padding: 0.5em;background:#ffffff;">
''This {{{type}}} does not exist and is a feature request.''</div></div> {{#if:{{{self|}}}|| {{LSLC|WishList|{{{sort|}}}}} }}}}{{#ifeq:{{{mode|}}}|god|
<div id="box" style="background:yellow;">
&nbsp;&nbsp;'''Requires God Mode'''
<div style="padding: 0.5em;background:#ffffff;">
''(This {{{type}}} can only be executed in God Mode.)''</div></div>{{#if:{{{self|}}}|| {{LSLC|God_Mode|{{{sort|}}} }}}}}}{{#if:{{{return_text|}}}{{{header_desc|}}}||
<div id="box" style="background:yellow;">
&nbsp;&nbsp;''' 'return_text' and 'header_desc' can both not be undefined'''
<div style="padding: 0.5em;background:#ffffff;">
''(Please use 'return_text' or 'header_desc' to describe the {{{type}}}s actions.)''</div></div>{{#if:{{{self|}}}|| {{LSLC|FixMe|{{{sort|}}}}} }} }} <!-- {{lowercase|{{{1}}}}} -->
{| width="100%"
|-
|valign="top"|


<div id="box">
}}{{#if:{{#var:P_Rendered}}||{{#ifexpr:not {{#if:{{#var:t}}|{{#var:t}}|-1}} and {{#ifeq:{{#sub:{{ucfirst:{{#var:name}}}}|0|1}}|{{#sub:{{#var:name}}|0|1}}|0|1}}|{{lowercase}}}}
== {{#if:{{{template|}}}|{{#if: {{{return_type|}}}|{{{{{template|}}}|{{{return_type|}}}}}||}} {{{{{template|}}}|{{{1}}}}}( {{ #if: {{{p1_name|}}}{{{p1_type|}}} | {{{{{template|}}}|{{{p1_type|}}}}} {{{p1_name|}}}{{ #if: {{{p2_name|}}}{{{p2_type|}}} |, {{{{{template|}}}|{{{p2_type|}}}}} {{{p2_name|}}} {{ #if: {{{p3_name|}}}{{{p3_type|}}} |, {{{{{template|}}}|{{{p3_type|}}}}} {{{p3_name|}}}{{ #if: {{{p4_name|}}}{{{p4_type|}}} |, {{{{{template|}}}|{{{p4_type|}}}}} {{{p4_name|}}}{{ #if: {{{p5_name|}}}{{{p5_type|}}} |, {{{{{template|}}}|{{{p5_type|}}}}} {{{p5_name|}}}{{ #if: {{{p6_name|}}}{{{p6_type|}}} |, {{{{{template|}}}|{{{p6_type|}}}}} {{{p6_name|}}}{{ #if: {{{p7_name|}}}{{{p7_type|}}} |, {{{{{template|}}}|{{{p7_type|}}}}} {{{p7_name|}}}{{ #if: {{{p8_name|}}}{{{p8_type|}}} |, {{{{{template|}}}|{{{p8_type|}}}}} {{{p8_name|}}}{{ #if: {{{p9_name|}}}{{{p9_type|}}} |, {{{{{template|}}}|{{{p9_type|}}}}} {{{p9_name|}}}{{ #if: {{{p10_name|}}}{{{p10_type|}}} |, {{{{{template|}}}|{{{p10_type|}}}}} {{{p10_name|}}}{{ #if: {{{p11_name|}}}{{{p11_type|}}} |, {{{{{template|}}}|{{{p11_type|}}}}} {{{p11_name|}}}{{ #if: {{{p12_name|}}}{{{p12_type|}}} |, {{{{{template|}}}|{{{p12_type|}}}}} {{{p12_name|}}} | }} | }} | }} | }} | }} | }} | }} | }} | }} | }} | }} | }} ){{{return_end|}}}|{{#if: {{{return_type|}}}|[[{{{return_type|}}}]]||}} [[{{{1}}}]]( {{ #if: {{{p1_name|}}}{{{p1_type|}}} | [[{{{p1_type|}}}]] {{{p1_name|}}}{{ #if: {{{p2_name|}}}{{{p2_type|}}} |, [[{{{p2_type|}}}]] {{{p2_name|}}} {{ #if: {{{p3_name|}}}{{{p3_type|}}} |, [[{{{p3_type|}}}]] {{{p3_name|}}}{{ #if: {{{p4_name|}}}{{{p4_type|}}} |, [[{{{p4_type|}}}]] {{{p4_name|}}}{{ #if: {{{p5_name|}}}{{{p5_type|}}} |, [[{{{p5_type|}}}]] {{{p5_name|}}}{{ #if: {{{p6_name|}}}{{{p6_type|}}} |, [[{{{p6_type|}}}]] {{{p6_name|}}}{{ #if: {{{p7_name|}}}{{{p7_type|}}} |, [[{{{p7_type|}}}]] {{{p7_name|}}}{{ #if: {{{p8_name|}}}{{{p8_type|}}} |, [[{{{p8_type|}}}]] {{{p8_name|}}}{{ #if: {{{p9_name|}}}{{{p9_type|}}} |, [[{{{p9_type|}}}]] {{{p9_name|}}}{{ #if: {{{p10_name|}}}{{{p10_type|}}} |, [[{{{p10_type|}}}]] {{{p10_name|}}}{{ #if: {{{p11_name|}}}{{{p11_type|}}} |, [[{{{p11_type|}}}]] {{{p11_name|}}}{{ #if: {{{p12_name|}}}{{{p12_type|}}} |, [[{{{p12_type|}}}]] {{{p12_name|}}} | }} | }} | }} | }} | }} | }} | }} | }} | }} | }} | }} | }} ){{{return_end|}}}}} ==
{{#vardefine:P_Rendered|t}} {{#if:{{#var:self}}|| __NOEDITSECTION__ }} {{#var:header}}
{{RightToc|font-size:80%}}
<div id="box"><h2 style="display:none"> {{#if:{{#var:alt_title}}|{{#var:alt_title}}|{{#var:header_title}}}} </h2>{{#ifexpr:{{#var:BugCounter|0}} > 0|<div class="mw-headline" style="float:right; margin: 5px 0.5em 0 0.5em;">{{LSL_Bug_Icon}}</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;"> {{#var:header_title}} </span><div style="padding: 0.5em; min-height: 5em;">{{#if:{{#var:header_floater}}|<div id="box" style="float:right;">{{#var:header_floater}}</div>}}
{{#var:header_text}}
</div></div>{{#if:{{#var:spec}}|<div id="box">
<h2>Specification</h2>
<div style="padding: 0.5em">
<div style="padding: 0.5em">
{{#if:{{{header_floater|}}}|<div id="box" style="float:right;">{{{header_floater|}}}</div>|}}
{{#var:spec}}
{{ #if: {{{header_desc|}}} | {{{header_desc|}}}<br/>{{#if: {{{return_type|}}} | <br/> | }}| }}{{ #if: {{{return_type|}}} | Returns {{AAn|{{{return_type|}}}}} {{ #if: {{{return_text|}}} | {{{return_text|}}} | }}<br/> | }}
</div></div>}}{{#if:{{#var:constants_nb}}{{#var:constants}}|
{{ #if: {{{p1_name|}}}{{{p1_type|}}} |
{{#var:constants_nb}}{{#if:{{#var:constants}}|  
{{ #if: {{{p2_name|}}}{{{p2_type|}}} |
<div id="box"><h2>{{#if:{{#var:T_Constants}}|{{#var:T_Constants}}|Constants}}</h2>
{{ #if: {{{p3_name|}}}{{{p3_type|}}} |
{{#var:constants}}
{{ #if: {{{p4_name|}}}{{{p4_type|}}} |
</div>}}}}{{#if:{{#var:caveats}}|
{{ #if: {{{p5_name|}}}{{{p5_type|}}} |
<div id="box"><h2>Caveats</h2>
{{ #if: {{{p6_name|}}}{{{p6_type|}}} |
{{ #if: {{{p7_name|}}}{{{p7_type|}}} |
{{ #if: {{{p8_name|}}}{{{p8_type|}}} |
{{ #if: {{{p9_name|}}}{{{p9_type|}}} |
{{ #if: {{{p10_name|}}}{{{p10_type|}}} |
{{ #if: {{{p11_name|}}}{{{p11_type|}}} |
{{ #if: {{{p12_name|}}}{{{p12_type|}}} |
<table cellpadding="2">
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p1_type|}}}</td><td style="vertical-align:top;"> {{{p1_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p1_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p1_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p2_type|}}}</td><td style="vertical-align:top;"> {{{p2_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p2_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p2_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p3_type|}}}</td><td style="vertical-align:top;"> {{{p3_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p3_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p3_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p4_type|}}}</td><td style="vertical-align:top;"> {{{p4_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p4_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p4_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p5_type|}}}</td><td style="vertical-align:top;"> {{{p5_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p5_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p5_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p6_type|}}}</td><td style="vertical-align:top;"> {{{p6_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p6_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p6_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p7_type|}}}</td><td style="vertical-align:top;"> {{{p7_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p7_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p7_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p8_type|}}}</td><td style="vertical-align:top;"> {{{p8_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p8_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p8_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p9_type|}}}</td><td style="vertical-align:top;"> {{{p9_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p9_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p9_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p10_type|}}}</td><td style="vertical-align:top;"> {{{p10_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p10_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p10_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p11_type|}}}</td><td style="vertical-align:top;"> {{{p11_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p11_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p11_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p12_type|}}}</td><td style="vertical-align:top;"> {{{p12_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p12_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p12_desc|}}} </td></tr>
</table>
|
<table cellpadding="2">
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p1_type|}}}</td><td style="vertical-align:top;"> {{{p1_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p1_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p1_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p2_type|}}}</td><td style="vertical-align:top;"> {{{p2_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p2_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p2_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p3_type|}}}</td><td style="vertical-align:top;"> {{{p3_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p3_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p3_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p4_type|}}}</td><td style="vertical-align:top;"> {{{p4_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p4_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p4_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p5_type|}}}</td><td style="vertical-align:top;"> {{{p5_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p5_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p5_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p6_type|}}}</td><td style="vertical-align:top;"> {{{p6_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p6_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p6_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p7_type|}}}</td><td style="vertical-align:top;"> {{{p7_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p7_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p7_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p8_type|}}}</td><td style="vertical-align:top;"> {{{p8_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p8_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p8_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p9_type|}}}</td><td style="vertical-align:top;"> {{{p9_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p9_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p9_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p10_type|}}}</td><td style="vertical-align:top;"> {{{p10_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p10_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p10_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p11_type|}}}</td><td style="vertical-align:top;"> {{{p11_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p11_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p11_desc|}}} </td></tr>
</table>
}} |
<table cellpadding="2">
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p1_type|}}}</td><td style="vertical-align:top;"> {{{p1_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p1_desc|}}} | {{{p1_desc|}}} | }} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p2_type|}}}</td><td style="vertical-align:top;"> {{{p2_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p2_desc|}}} | {{{p2_desc|}}} | }} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p3_type|}}}</td><td style="vertical-align:top;"> {{{p3_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p3_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p3_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p4_type|}}}</td><td style="vertical-align:top;"> {{{p4_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p4_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p4_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p5_type|}}}</td><td style="vertical-align:top;"> {{{p5_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p5_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p5_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p6_type|}}}</td><td style="vertical-align:top;"> {{{p6_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p6_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p6_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p7_type|}}}</td><td style="vertical-align:top;"> {{{p7_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p7_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p7_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p8_type|}}}</td><td style="vertical-align:top;"> {{{p8_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p8_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p8_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p9_type|}}}</td><td style="vertical-align:top;"> {{{p9_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p9_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p9_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p10_type|}}}</td><td style="vertical-align:top;"> {{{p10_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p10_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p10_desc|}}} </td></tr>
</table>
}} |
<table cellpadding="2">
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p1_type|}}}</td><td style="vertical-align:top;"> {{{p1_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p1_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p1_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p2_type|}}}</td><td style="vertical-align:top;"> {{{p2_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p2_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p2_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p3_type|}}}</td><td style="vertical-align:top;"> {{{p3_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p3_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p3_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p4_type|}}}</td><td style="vertical-align:top;"> {{{p4_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p4_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p4_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p5_type|}}}</td><td style="vertical-align:top;"> {{{p5_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p5_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p5_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p6_type|}}}</td><td style="vertical-align:top;"> {{{p6_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p6_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p6_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p7_type|}}}</td><td style="vertical-align:top;"> {{{p7_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p7_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p7_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p8_type|}}}</td><td style="vertical-align:top;"> {{{p8_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p8_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p8_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p9_type|}}}</td><td style="vertical-align:top;"> {{{p9_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p9_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p9_desc|}}} </td></tr>
</table>
}} |
<table cellpadding="2">
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p1_type|}}}</td><td style="vertical-align:top;"> {{{p1_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p1_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p1_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p2_type|}}}</td><td style="vertical-align:top;"> {{{p2_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p2_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p2_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p3_type|}}}</td><td style="vertical-align:top;"> {{{p3_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p3_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p3_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p4_type|}}}</td><td style="vertical-align:top;"> {{{p4_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p4_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p4_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p5_type|}}}</td><td style="vertical-align:top;"> {{{p5_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p5_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p5_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p6_type|}}}</td><td style="vertical-align:top;"> {{{p6_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p6_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p6_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p7_type|}}}</td><td style="vertical-align:top;"> {{{p7_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p7_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p7_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p8_type|}}}</td><td style="vertical-align:top;"> {{{p8_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p8_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p8_desc|}}} </td></tr>
</table>
}} |
<table cellpadding="2">
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p1_type|}}}</td><td style="vertical-align:top;"> {{{p1_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p1_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p1_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p2_type|}}}</td><td style="vertical-align:top;"> {{{p2_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p2_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p2_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p3_type|}}}</td><td style="vertical-align:top;"> {{{p3_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p3_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p3_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p4_type|}}}</td><td style="vertical-align:top;"> {{{p4_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p4_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p4_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p5_type|}}}</td><td style="vertical-align:top;"> {{{p5_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p5_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p5_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p6_type|}}}</td><td style="vertical-align:top;"> {{{p6_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p6_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p6_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p7_type|}}}</td><td style="vertical-align:top;"> {{{p7_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p7_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p7_desc|}}} </td></tr>
</table>
}} |
<table cellpadding="2">
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p1_type|}}}</td><td style="vertical-align:top;"> {{{p1_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p1_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p1_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p2_type|}}}</td><td style="vertical-align:top;"> {{{p2_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p2_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p2_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p3_type|}}}</td><td style="vertical-align:top;"> {{{p3_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p3_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p3_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p4_type|}}}</td><td style="vertical-align:top;"> {{{p4_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p4_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p4_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p5_type|}}}</td><td style="vertical-align:top;"> {{{p5_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p5_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p5_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p6_type|}}}</td><td style="vertical-align:top;"> {{{p6_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p6_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p6_desc|}}} </td></tr>
</table>
}} |
<table cellpadding="2">
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p1_type|}}}</td><td style="vertical-align:top;"> {{{p1_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p1_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p1_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p2_type|}}}</td><td style="vertical-align:top;"> {{{p2_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p2_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p2_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p3_type|}}}</td><td style="vertical-align:top;"> {{{p3_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p3_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p3_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p4_type|}}}</td><td style="vertical-align:top;"> {{{p4_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p4_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p4_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p5_type|}}}</td><td style="vertical-align:top;"> {{{p5_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p5_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p5_desc|}}} </td></tr>
</table>
}} |
<table cellpadding="2">
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p1_type|}}}</td><td style="vertical-align:top;"> {{{p1_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p1_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p1_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p2_type|}}}</td><td style="vertical-align:top;"> {{{p2_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p2_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p2_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p3_type|}}}</td><td style="vertical-align:top;"> {{{p3_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p3_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p3_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p4_type|}}}</td><td style="vertical-align:top;"> {{{p4_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p4_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p4_desc|}}} </td></tr>
</table>
}} |
<table cellpadding="2">
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p1_type|}}}</td><td style="vertical-align:top;"> {{{p1_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p1_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p1_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p2_type|}}}</td><td style="vertical-align:top;"> {{{p2_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p2_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p2_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p3_type|}}}</td><td style="vertical-align:top;"> {{{p3_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p3_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p3_desc|}}} </td></tr>
</table>
}} |
<table cellpadding="2">
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p1_type|}}}</td><td style="vertical-align:top;"> {{{p1_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p1_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p1_desc|}}} </td></tr>
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p2_type|}}}</td><td style="vertical-align:top;"> {{{p2_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p2_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p2_desc|}}} </td></tr>
</table>
}} |
<table cellpadding="2">
<tr><td style="vertical-align:top;color:gray;">•&nbsp;{{{p1_type|}}}</td><td style="vertical-align:top;"> {{{p1_name|}}} </td><td style="vertical-align:top;color:gray;"> {{ #if: {{{p1_desc|}}} | – | }} </td><td style="vertical-align:top;"> {{{p1_desc|}}} </td></tr>
</table>
}} | }}
{{ #if: {{{header_footnote|}}} | <br />{{{header_footnote|}}} | }}
{{#if:{{{header_floater|}}}|<div style="clear:right;" ></div>|}}</div></div>
|-
|{{ #if: {{{spec|}}} |
<div id="box">
== Specification ==
<div style="padding: 0.5em">
<div style="padding: 0.5em">
{{{spec}}}
{{#var:caveats}}
</div>
</div></div>}}{{#if:{{#if:{{#var:deprecated}}||t}}{{#var:examples}}|
</div>
<div id="box"><h2>Examples</h2>
| }}
|-
|{{ #if: {{{constants_nb|}}} | {{{constants_nb}}}| }}{{ #if: {{{constants|}}} |  
<div id="box">
== Constants ==
{{{constants}}}
</div>
| }}
|-
|<div id="box">
== Caveats ==
<div style="padding: 0.5em">
<div style="padding: 0.5em">
{{#if:{{{depreciated|}}}{{{deprecated|}}}|* This {{{type}}} has been deprecated{{#ifeq:{{{depreciated|}}}{{{deprecated|}}}|none||, please use {{LSLG|{{{depreciated|}}}{{{deprecated|}}}}} instead}}.<br />|}}{{#ifeq:{{{mode|}}}|god|* This {{{type}}} can only be executed in God Mode.<br />|}}{{#if: {{{depreciated|}}}{{{deprecated|}}}{{{caveats|}}}{{#ifeq:{{{mode|}}}|god|god|}} | {{{caveats|}}} | * None known.}}
{{#var:examples}}
</div>
</div></div>}}{{#if:{{#var:helpers}}|
</div>
<div id="box"><h2>Useful Snippets</h2>
|-
|{{ #if: {{#if:{{{depreciated|}}}{{{deprecated|}}}||t}}{{{examples|}}} |
<div id="box">
== Examples ==
<div style="padding: 0.5em">
<div style="padding: 0.5em">
{{ #if: {{{examples|}}} | {{{examples|}}} | }}
{{#var:helpers}}
</div>
</div></div>}}{{#if:{{#var:notes}}|
</div>
<div id="box"><h2>Notes</h2>
|}}
|-
|{{ #if: {{{helpers|}}} |  
<div id="box">
== Helper Functions ==
<div style="padding: 0.5em">
<div style="padding: 0.5em">
{{{helpers}}}
{{#var:notes}}
</div>
</div></div>}}{{#if:{{#var:also_footer}}{{#var:also_functions}}{{#var:also_events}}{{#var:also_articles}}{{#var:also_tests}}{{#var:also_header}}|
</div>
<div id="box"><h2>See Also</h2>
| }}
|-
|{{ #if: {{#if:{{{depreciated|}}}{{{deprecated|}}}||t}}{{{notes|}}} |
<div id="box">
== Notes ==
<div style="padding: 0.5em">
<div style="padding: 0.5em">
{{ #if: {{{notes|}}} | {{{notes|}}} | }}
{{#if:{{#var:also_header}}|
</div>
{{#var:also_header}}}}{{#if:{{#var:also_events}}|
</div>
<h3>Events</h3>
|}}
{{{!}}
|-
{{#var:also_events}}
|{{ #if: {{{also_footer|}}}{{{related|}}}{{{also_functions|}}}{{{also_events|}}}{{{also_articles|}}}{{{also_header|}}} |  
{{!}}} }}{{#if:{{#var:also_functions}}|
<div id="box">
<h3>Functions</h3>
== See Also ==
{{{!}}
<div style="padding: 0.5em">
{{#var:also_functions}}
{{ #if: {{{also_header|}}} | {{{also_header}}}<br /> |}}{{ #if: {{{also_events|}}} |
{{!}}} }}{{#if:{{#var:also_articles}}|
<ul><li> Events </li></ul>
<h3>Articles</h3>
<dl><dd>
{{{!}}
{{{also_events|}}}</dl> | }}{{ #if: {{{also_functions|}}} |
{{#var:also_articles}}
<ul><li> Functions </li></ul>
{{!}}} }}
<dl><dd>
{{#if:{{#var:also_footer}}|{{PBR}}{{#var:also_footer}}}}
{{{also_functions|}}}</dl> | }}{{ #if: {{{also_articles|}}} |
</div></div>}}
<ul><li> Articles </li></ul>
{{#if:{{#var:deepnotes}}{{#var:mono}}{{#var:lso}}{{#var:history}}{{#var:issues}}{{#var:search}}{{#var:location}}{{#var:also_tests}}{{#var:messaging}}{{#var:footnotes}}|<div id="box">
<dl><dd>
== Deep Notes ==
{{{also_articles}}}</dl> | }} {{{also_footer|}}}
<div style="padding: 0.5em"><div>
</div>
{{#var:deepnotes}}
</div>
</div>{{#if:{{#var:mono}}|
| }}
<h4> Mono VM Notes </h4><div>
|}
{{#var:mono}}
{{{footer|}}}</includeonly>
</div>}}{{#if:{{#var:lso}}|
<h4> LSO VM Notes </h4><div>
{{#var:lso}}
</div>}}{{#if:{{#var:history}}|
<h4> History </h4><div>
{{#var:history}}
</div>}}{{#if:{{#var:issues}}|
<h4 style="display:inline; line-height:2em;">Issues </h4>{{#if:{{#var:search}}|~ {{JiraSearch/2|1={{#var:search}}|2=Search JIRA for related Issues}}}}
{{{!}} style="font-size:90%; line-height:1.1em;"
{{#var:issues}}
{{!}}}
|{{#if:{{#var:search}}|<h4>Issues</h4>
{{JiraSearch/2|1={{#var:search}}|2=Search JIRA for related 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:{{#var:comments}}|<div id="box">
<h2>Comments</h2>
<div style="padding: 0.5em;">
{{#var:comments}}
</div></div>}}
{{#var:footer}}<span id="sort" style="visibility:hidden">{{#var:sort}}</span>}}</onlyinclude>

Latest revision as of 19:16, 17 December 2010

See Template:LSL Generic/docs for documentation.

header_title

header_title
header_floater

header_text

Specification

spec

constants_nb

Examples

examples

Notes

notes

See Also

header

Events

events

Functions

functions

Articles

articles

footer

Deep Notes

Issues

Search JIRA for related Issues

Tests

tests