Difference between revisions of "User:Strife Onizuka/Constant"
Jump to navigation
Jump to search
m |
m |
||
(34 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ {{Multi-lang|category=LSL}}{{LSL Header}}<noinclude> | {{#switch:{{#var:TRM}}|P={{#if: | ||
{{#vardefine:const_{{{name|}}}|{{LSL Const|{{{name|}}}|{{{type|}}}|{{{value|}}}|comment={{{comment|}}}}}}} | |||
{{{inject-1|}}} | |||
{{#vardefine:p_{{{g1_name|}}}_desc|{{#var:p_{{{g1_name|}}}_desc}}{{{g1_desc|}}}}} | |||
{{#vardefine:p_{{{g1_name|}}}_hover|{{#var:p_{{{g1_name|}}}_hover}}{{{g1_hover|}}}}} | |||
{{#vardefine:p_{{{r1_name|}}}_desc|{{#var:p_{{{r1_name|}}}_desc}}{{{r1_desc|}}}}} | |||
{{#vardefine:p_{{{r1_name|}}}_hover|{{#var:p_{{{r1_name|}}}_hover}}{{{r1_hover|}}}}} | |||
{{#vardefine:p_{{{r2_name|}}}_desc|{{#var:p_{{{r2_name|}}}_desc}}{{{r2_desc|}}}}} | |||
{{#vardefine:p_{{{r2_name|}}}_hover|{{#var:p_{{{r2_name|}}}_hover}}{{{r2_hover|}}}}} | |||
{{#vardefine:p_{{{r3_name|}}}_desc|{{#var:p_{{{r3_name|}}}_desc}}{{{r3_desc|}}}}} | |||
{{#vardefine:p_{{{r3_name|}}}_hover|{{#var:p_{{{r3_name|}}}_hover}}{{{r3_hover|}}}}} | |||
{{#vardefine:p_{{{r4_name|}}}_desc|{{#var:p_{{{r4_name|}}}_desc}}{{{r4_desc|}}}}} | |||
{{#vardefine:p_{{{r4_name|}}}_hover|{{#var:p_{{{r4_name|}}}_hover}}{{{r4_hover|}}}}} | |||
{{#vardefine:p_{{{r5_name|}}}_desc|{{#var:p_{{{r5_name|}}}_desc}}{{{r5_desc|}}}}} | |||
{{#vardefine:p_{{{r5_name|}}}_hover|{{#var:p_{{{r5_name|}}}_hover}}{{{r5_hover|}}}}} | |||
{{#vardefine:p_{{{r6_name|}}}_desc|{{#var:p_{{{r6_name|}}}_desc}}{{{r6_desc|}}}}} | |||
{{#vardefine:p_{{{r6_name|}}}_hover|{{#var:p_{{{r6_name|}}}_hover}}{{{r6_hover|}}}}} | |||
{{#vardefine:p_{{{r7_name|}}}_desc|{{#var:p_{{{r7_name|}}}_desc}}{{{r7_desc|}}}}} | |||
{{#vardefine:p_{{{r7_name|}}}_hover|{{#var:p_{{{r7_name|}}}_hover}}{{{r7_hover|}}}}} | |||
{{#vardefine:p_{{{r8_name|}}}_desc|{{#var:p_{{{r8_name|}}}_desc}}{{{r8_desc|}}}}} | |||
{{#vardefine:p_{{{r8_name|}}}_hover|{{#var:p_{{{r8_name|}}}_hover}}{{{r8_hover|}}}}} | |||
{{#vardefine:p_{{{r9_name|}}}_desc|{{#var:p_{{{r9_name|}}}_desc}}{{{r9_desc|}}}}} | |||
{{#vardefine:p_{{{r9_name|}}}_hover|{{#var:p_{{{r9_name|}}}_hover}}{{{r9_hover|}}}}} | |||
{{#vardefine:p_{{{r10_name|}}}_desc|{{#var:p_{{{r10_name|}}}_desc}}{{{r10_desc|}}}}} | |||
{{#vardefine:p_{{{r10_name|}}}_hover|{{#var:p_{{{r10_name|}}}_hover}}{{{r10_hover|}}}}} | |||
{{#vardefine:p_{{{r11_name|}}}_desc|{{#var:p_{{{r11_name|}}}_desc}}{{{r11_desc|}}}}} | |||
{{#vardefine:p_{{{r11_name|}}}_hover|{{#var:p_{{{r11_name|}}}_hover}}{{{r11_hover|}}}}} | |||
{{#vardefine:p_{{{r12_name|}}}_desc|{{#var:p_{{{r12_name|}}}_desc}}{{{r12_desc|}}}}} | |||
{{#vardefine:p_{{{r12_name|}}}_hover|{{#var:p_{{{r12_name|}}}_hover}}{{{r12_hover|}}}}} | |||
{{#vardefine:p_{{{list_name|}}}_desc|{{#var:p_{{{list_name|}}}_desc}}{{{list_desc|}}}}} | |||
{{#vardefine:p_{{{list_name|}}}_hover|{{#var:p_{{{list_name|}}}_hover}}{{{list_hover|}}}}} | |||
{{#vardefine:params-list-get|{{#if:{{{g1_name|}}}{{{g1_type|}}}| [[{{{g1_type|}}}{{#var:lang}}|{{{g1_type|}}}]] {{LSL Param|{{{g1_name|}}}|{{{g1_disp|}}}}}{{#if:{{{g2_name|}}}{{{g2_type|}}}|, [[{{{g2_type|}}}{{#var:lang}}|{{{g2_type|}}}]] {{LSL Param|{{{g2_name|}}}|{{{g2_disp|}}}}}}}}}}} | |||
{{#vardefine:params-rows-get| | |||
{{#if:{{{g1_name|}}}{{{g1_type|}}}|{{LSL_DefineRow|1={{{g1_type|}}}|2={{#if:{{{g1_disp|}}}|{{{g1_disp|}}}|{{{g1_name|}}}}}|3={{#var:p_{{{g1_name|}}}_desc}}}} | |||
{{#if:{{{g2_name|}}}{{{g2_type|}}}|{{LSL_DefineRow|1={{{g2_type|}}}|2={{#if:{{{g2_disp|}}}|{{{g2_disp|}}}|{{{g2_name|}}}}}|3={{#var:p_{{{g2_name|}}}_desc}}}} | |||
}} }} }} | |||
{{#vardefine:params-list-set|{{#if:{{{r1_name|}}}{{{r1_type|}}}| [[{{{r1_type|}}}{{#var:lang}}|{{{r1_type|}}}]] {{LSL Param|{{{r1_name|}}}|{{{r1_disp|}}}}}{{#if:{{{r2_name|}}}{{{r2_type|}}}|, [[{{{r2_type|}}}{{#var:lang}}|{{{r2_type|}}}]] {{LSL Param|{{{r2_name|}}}|{{{r2_disp|}}}}}{{#if:{{{r3_name|}}}{{{r3_type|}}}|, [[{{{r3_type|}}}{{#var:lang}}|{{{r3_type|}}}]] {{LSL Param|{{{r3_name|}}}|{{{r3_disp|}}}}}{{#if:{{{r4_name|}}}{{{r4_type|}}}|, [[{{{r4_type|}}}{{#var:lang}}|{{{r4_type|}}}]] {{LSL Param|{{{r4_name|}}}|{{{r4_disp|}}}}}{{#if:{{{r5_name|}}}{{{r5_type|}}}|, [[{{{r5_type|}}}{{#var:lang}}|{{{r5_type|}}}]] {{LSL Param|{{{r5_name|}}}|{{{r5_disp|}}}}}{{#if:{{{r6_name|}}}{{{r6_type|}}}|, [[{{{r6_type|}}}{{#var:lang}}|{{{r6_type|}}}]] {{LSL Param|{{{r6_name|}}}|{{{r6_disp|}}}}}{{#if:{{{r7_name|}}}{{{r7_type|}}}|, [[{{{r7_type|}}}{{#var:lang}}|{{{r7_type|}}}]] {{LSL Param|{{{r7_name|}}}|{{{r7_disp|}}}}}{{#if:{{{r8_name|}}}{{{r8_type|}}}|, [[{{{r8_type|}}}{{#var:lang}}|{{{r8_type|}}}]] {{LSL Param|{{{r8_name|}}}|{{{r8_disp|}}}}}{{#if:{{{r9_name|}}}{{{r9_type|}}}|, [[{{{r9_type|}}}{{#var:lang}}|{{{r9_type|}}}]] {{LSL Param|{{{r9_name|}}}|{{{r9_disp|}}}}}{{#if:{{{r10_name|}}}{{{r10_type|}}}|, [[{{{r10_type|}}}{{#var:lang}}|{{{r10_type|}}}]] {{LSL Param|{{{r10_name|}}}|{{{r10_disp|}}}}}{{#if:{{{r11_name|}}}{{{r11_type|}}}|, [[{{{r11_type|}}}{{#var:lang}}|{{{r11_type|}}}]] {{LSL Param|{{{r11_name|}}}|{{{r11_disp|}}}}}{{#if:{{{r12_name|}}}{{{r12_type|}}}|, [[{{{r12_type|}}}{{#var:lang}}|{{{r12_type|}}}]] {{LSL Param|{{{r12_name|}}}|{{{r12_disp|}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}} | |||
{{#vardefine:params-rows-set| | |||
{{#if:{{{r1_name|}}}{{{r1_type|}}}|{{LSL_DefineRow|1={{{r1_type|}}}|2={{#if:{{{r1_disp|}}}|{{{r1_disp|}}}|{{{r1_name|}}}}}|3={{#var:p_{{{r1_name|}}}_desc}}}} | |||
{{#if:{{{r2_name|}}}{{{r2_type|}}}|{{LSL_DefineRow|1={{{r2_type|}}}|2={{#if:{{{r2_disp|}}}|{{{r2_disp|}}}|{{{r2_name|}}}}}|3={{#var:p_{{{r2_name|}}}_desc}}}} | |||
{{#if:{{{r3_name|}}}{{{r3_type|}}}|{{LSL_DefineRow|1={{{r3_type|}}}|2={{#if:{{{r3_disp|}}}|{{{r3_disp|}}}|{{{r3_name|}}}}}|3={{#var:p_{{{r3_name|}}}_desc}}}} | |||
{{#if:{{{r4_name|}}}{{{r4_type|}}}|{{LSL_DefineRow|1={{{r4_type|}}}|2={{#if:{{{r4_disp|}}}|{{{r4_disp|}}}|{{{r4_name|}}}}}|3={{#var:p_{{{r4_name|}}}_desc}}}} | |||
{{#if:{{{r5_name|}}}{{{r5_type|}}}|{{LSL_DefineRow|1={{{r5_type|}}}|2={{#if:{{{r5_disp|}}}|{{{r5_disp|}}}|{{{r5_name|}}}}}|3={{#var:p_{{{r5_name|}}}_desc}}}} | |||
{{#if:{{{r6_name|}}}{{{r6_type|}}}|{{LSL_DefineRow|1={{{r6_type|}}}|2={{#if:{{{r6_disp|}}}|{{{r6_disp|}}}|{{{r6_name|}}}}}|3={{#var:p_{{{r6_name|}}}_desc}}}} | |||
{{#if:{{{r7_name|}}}{{{r7_type|}}}|{{LSL_DefineRow|1={{{r7_type|}}}|2={{#if:{{{r7_disp|}}}|{{{r7_disp|}}}|{{{r7_name|}}}}}|3={{#var:p_{{{r7_name|}}}_desc}}}} | |||
{{#if:{{{r8_name|}}}{{{r8_type|}}}|{{LSL_DefineRow|1={{{r8_type|}}}|2={{#if:{{{r8_disp|}}}|{{{r8_disp|}}}|{{{r8_name|}}}}}|3={{#var:p_{{{r8_name|}}}_desc}}}} | |||
{{#if:{{{r9_name|}}}{{{r9_type|}}}|{{LSL_DefineRow|1={{{r9_type|}}}|2={{#if:{{{r9_disp|}}}|{{{r9_disp|}}}|{{{r9_name|}}}}}|3={{#var:p_{{{r9_name|}}}_desc}}}} | |||
{{#if:{{{r10_name|}}}{{{r10_type|}}}|{{LSL_DefineRow|1={{{r10_type|}}}|2={{#if:{{{r10_disp|}}}|{{{r10_disp|}}}|{{{r10_name|}}}}}|3={{#var:p_{{{r10_name|}}}_desc}}}} | |||
{{#if:{{{r11_name|}}}{{{r11_type|}}}|{{LSL_DefineRow|1={{{r11_type|}}}|2={{#if:{{{r11_disp|}}}|{{{r11_disp|}}}|{{{r11_name|}}}}}|3={{#var:p_{{{r11_name|}}}_desc}}}} | |||
{{#if:{{{r12_name|}}}{{{r12_type|}}}|{{LSL_DefineRow|1={{{r12_type|}}}|2={{#if:{{{r12_disp|}}}|{{{r12_disp|}}}|{{{r12_name|}}}}}|3={{#var:p_{{{r12_name|}}}_desc}}}} | |||
}}}}}}}}}}}}}}}}}}}}}}}}}} | |||
{{{inject-2|}}} | |||
{{#vardefine:params-table-get|{{#if:{{#var:params-rows-get}}{{#var:params-rows-set}}{{{list_name|}}}| | |||
{{{!}} style="background-color:transparent;" | |||
{{#var:params-rows-get}} | |||
{{#if:{{#var:params-rows-get}}| | |||
{{!}}- | |||
{{!}} colspan="6" {{!}} <hr/> | |||
}} | |||
{{#var:params-rows-set}} | |||
{{#if:{{{list_name|}}}| | |||
{{!}}- | |||
{{!}} colspan="6" {{!}} <hr/> | |||
{{LSL_DefineRow|1=list|2={{#if:{{{list_disp|}}}|{{{list_disp|}}}|{{{list_name|}}}}}|3={{#var:p_{{{list_name|}}}_desc}}}} | |||
}} | |||
{{!}}} }} }} | |||
{{#vardefine:params-table-set|{{#if:{{#var:params-rows-get}}{{#var:params-rows-set}}{{{list_name|}}}| | |||
{{{!}} style="background-color:transparent;" | |||
{{#var:params-rows-get}} | |||
{{!}}- | |||
{{#var:params-rows-set}} | |||
{{!}}- | |||
{{#if:{{{list_name|}}}| | |||
{{#if:{{#var:params-rows-get}}{{#var:params-rows-set}}|{{!}} colspan="6" {{!}} <hr/>}} | |||
{{!}}- | |||
{{LSL_DefineRow|1=list|2={{#if:{{{list_disp|}}}|{{{list_disp|}}}|{{{list_name|}}}}}|3={{#var:p_{{{list_name|}}}_desc}}}} | |||
}} | |||
{{!}}- | |||
{{!}}} }} }} | |||
}} | |||
{{PPC|{{#var:PPC-1}}|{{{name|}}}|{{#var:params-list-set}}|required={{#var:params-list-get}} | |||
|list={{#if:{{{list_name|}}}|{{LSL Param|{{{list_name|}}}|{{{list_disp|}}}|, click [show] for more information}}}} | |||
|const={{#var:const_{{{name|}}}}} | |||
|value={{{value}}} | |||
|scope={{{scope}}} | |||
|attr={{{attr}}} | |||
|content= | |||
<p> | |||
{{{desc|}}} | |||
</p> | |||
<div> | |||
{{#ifeq:{{#var:PPC-1}}|get|{{#var:params-table-get}} | |||
{{{text-get|}}}|{{#var:params-table-set}} | |||
{{{text-set|}}}}}</div> | |||
<div> | |||
{{{ppc-content|}}}</div> | |||
}} | |||
|#default=__NOTOC__ {{Multi-lang|category=LSL}}{{LSL Header}}<noinclude> | |||
See [[{{#var:langbase}}/docs{{#var:lang}}]] for documentation. | See [[{{#var:langbase}}/docs{{#var:lang}}]] for documentation. | ||
This is a {{LSLGC|PrimitiveParams}} specific template. | This is a {{LSLGC|PrimitiveParams}} specific template. | ||
</noinclude | </noinclude>{{#if: | ||
<!-- Default code --> | |||
WARNING, at the time of writing LSL Const uses the same variable names as we do. This needs to be fixed. | WARNING, at the time of writing LSL Const uses the same variable names as we do. This needs to be fixed. | ||
Line 11: | Line 123: | ||
{{#if:{{{name|}}}|{{#vardefine:Name|{{{name|}}}}}}} | {{#if:{{{name|}}}|{{#vardefine:Name|{{{name|}}}}}}} | ||
{{#if:{{{value|}}}|{{#vardefine:Value|{{{value|}}}}}}} | {{#if:{{{value|}}}|{{#vardefine:Value|{{{value|}}}}}}} | ||
{{#vardefine: | {{#vardefine:Comment|{{{comment|}}}{{#var:Comment}}}} | ||
{{#vardefine:const_{{#var:Name}}|{{LSL Const|{{#var: | {{#vardefine:const_{{#var:Name}}|{{LSL Const|{{#var:Name}}|{{#var:Type}}|{{#var:Value}}|comment={{#var:Comment}}}}}} | ||
{{#vardefine:gs|{{#if:{{{gs|}}}|{{{gs|}}}|gs}}}} | {{#vardefine:gs|{{#if:{{{gs|}}}|{{{gs|}}}|gs}}}} | ||
{{#vardefine:article_type|constant}} | {{#vardefine:article_type|constant}} | ||
{{#vardefine:self|{{{self|}}}{{#var:self}}<noinclude>1</noinclude>}} | |||
{{{inject-1|}}} | {{{inject-1|}}} | ||
{{#if:{{{mode|}}}|{{#vardefine:mode|{{{mode|}}} }} }} | |||
{{{{#switch:{{#var:mode}} | {{{{#switch:{{#var:mode}} | ||
Line 28: | Line 144: | ||
|user=!{{#vardefine:moded|u{{#var:moded}}}} | |user=!{{#vardefine:moded|u{{#var:moded}}}} | ||
|!}}|}} | |!}}|}} | ||
{{#if:{{{deprecated|}}}|{{LSL_Generic/deprecated{{#var:lang}}|{{{deprecated|}}} }} }} | |||
{{{inject-2|}}} | {{{inject-2|}}} | ||
Line 59: | Line 175: | ||
{{#vardefine:p_{{{r12_name|}}}_desc|{{#var:p_{{{r12_name|}}}_desc}}{{{r12_desc|}}}}} | {{#vardefine:p_{{{r12_name|}}}_desc|{{#var:p_{{{r12_name|}}}_desc}}{{{r12_desc|}}}}} | ||
{{#vardefine:p_{{{r12_name|}}}_hover|{{#var:p_{{{r12_name|}}}_hover}}{{{r12_hover|}}}}} | {{#vardefine:p_{{{r12_name|}}}_hover|{{#var:p_{{{r12_name|}}}_hover}}{{{r12_hover|}}}}} | ||
{{#vardefine:p_{{{list_name|}}}_desc|{{#var:p_{{{list_name|}}}_desc}}{{{list_desc|}}}}} | |||
{{#vardefine:p_{{{list_name|}}}_hover|{{#var:p_{{{list_name|}}}_hover}}{{{list_hover|}}}}} | |||
{{#vardefine:params-list-get|{{#if:{{{g1_name|}}}{{{g1_type|}}}| [[{{{g1_type|}}}{{#var:lang}}|{{{g1_type|}}}]] {{LSL Param|{{{g1_name|}}}|{{{g1_disp|}}}}}{{#if:{{{g2_name|}}}{{{g2_type|}}}|, [[{{{g2_type|}}}{{#var:lang}}|{{{g2_type|}}}]] {{LSL Param|{{{g2_name|}}}|{{{g2_disp|}}}}}}}}}}} | {{#vardefine:params-list-get|{{#if:{{{g1_name|}}}{{{g1_type|}}}| [[{{{g1_type|}}}{{#var:lang}}|{{{g1_type|}}}]] {{LSL Param|{{{g1_name|}}}|{{{g1_disp|}}}}}{{#if:{{{g2_name|}}}{{{g2_type|}}}|, [[{{{g2_type|}}}{{#var:lang}}|{{{g2_type|}}}]] {{LSL Param|{{{g2_name|}}}|{{{g2_disp|}}}}}}}}}}} | ||
Line 84: | Line 203: | ||
}}}}}}}}}}}}}}}}}}}}}}}}}} | }}}}}}}}}}}}}}}}}}}}}}}}}} | ||
{{#vardefine:params-table-get| | |||
{{#if:{{#var:params-rows-get}}{{#var:params-rows-set}}{{{list_name|}}}| | |||
{{{!}} style="background-color:transparent;" | |||
{{ | |||
{{{!}} | |||
{{#var:params-rows-get}} | {{#var:params-rows-get}} | ||
{{#if:{{#var:params-rows-get}}| | {{#if:{{#var:params-rows-get}}| | ||
Line 95: | Line 212: | ||
}} | }} | ||
{{#var:params-rows-set}} | {{#var:params-rows-set}} | ||
{{#if:{{{list_name|}}}| | |||
{{!}}- | |||
{{!}} colspan="6" {{!}} <hr/> | |||
{{LSL_DefineRow|1=list|2={{#if:{{{list_disp|}}}|{{{list_disp|}}}|{{{list_name|}}}}}|3={{#var:p_{{{list_name|}}}_desc}}}} | |||
}} | |||
{{!}}} }} | {{!}}} }} | ||
}} | }} | ||
{{#vardefine:params-table-set| | |||
{{#if:{{#var:params-rows-get}}{{#var:params-rows-set}}{{{list_name|}}}| | |||
{{ | {{{!}} style="background-color:transparent;" | ||
{{{!}} | |||
{{#var:params-rows-get}} | {{#var:params-rows-get}} | ||
{{!}}- | {{!}}- | ||
{{#var:params-rows-set}} | {{#var:params-rows-set}} | ||
{{!}}- | |||
{{#if:{{{list_name|}}}| | |||
{{#if:{{#var:params-rows-get}}{{#var:params-rows-set}}|{{!}} colspan="6" {{!}} <hr/>}} | |||
{{!}}- | |||
{{LSL_DefineRow|1=list|2={{#if:{{{list_disp|}}}|{{{list_disp|}}}|{{{list_name|}}}}}|3={{#var:p_{{{list_name|}}}_desc}}}} | |||
}} | |||
{{!}}- | |||
{{!}}} }} | {{!}}} }} | ||
}} | |||
{{#if:{{#pos:{{#var:gs}}|g}}|{{#vardefine:getpp| | |||
{{SpecialBox|1=[[llGetPrimitiveParams]]([ {{#var:const_{{#var:Name}}}}{{#if:{{#var:params-list-get}}|, {{#var:params-list-get}}}} ])|2=llGetPrimitiveParams|3= | |||
Returns the list [ {{#var:params-list-set}} ]{{#if:{{{list_name|}}}| + {{LSL Param|{{{list_name|}}}|{{{list_disp|}}}}}}} | |||
{{#var:params-table-get}} | |||
{{LSL Constant/PrimParamText|get}}{{PBR}} | |||
{{{text-get|}}} | |||
}} | |||
}}}} | |||
{{#if:{{#pos:{{#var:gs}}|s}}|{{#vardefine:setpp| | |||
{{SpecialBox|1=[[llSetPrimitiveParams]]([ {{#var:const_{{#var:Name}}}}{{#if:{{#var:params-list-get}}|, {{#var:params-list-get}}}}{{#if:{{#var:params-list-set}}|, {{#var:params-list-set}}}} ]{{#if:{{{list_name|}}}| + {{LSL Param|{{{list_name|}}}|{{{list_disp|}}}}} }})|2=llSetPrimitiveParams|3= | |||
{{#var:params-table-set}} | |||
{{LSL Constant/PrimParamText|set}}{{PBR}} | |||
{{{text-set|}}} | {{{text-set|}}} | ||
}} | }} | ||
Line 116: | Line 257: | ||
{{#vardefine:issues|{{#var:issues}} | {{#vardefine:issues|{{#var:issues}} | ||
{{{issues|}}}}} | {{{issues|}}}}} | ||
{{#vardefine:bugs|{{#var:bugs}} | |||
{{{bugs|}}}}} | |||
{{#vardefine:caveats|{{#if:{{#var:caveats}}| | {{#vardefine:caveats|{{#if:{{#var:caveats}}| | ||
Line 121: | Line 265: | ||
{{{caveats|}}}}}}} | {{{caveats|}}}}}}} | ||
{{#if:{{#pos:{{#var:moded}}|u}}||{{#vardefine:caveats|{{LSL_Generic/Caveats}}}}}} | {{#if:{{#pos:{{#var:moded}}|u}}||{{#vardefine:caveats|{{LSL_Generic/Caveats|caveats={{#var:caveats}}|bugs={{#var:bugs}}}}}}}} | ||
{{#if:{{#var:examples}}{{{examples|}}}| | {{#if:{{#var:examples}}{{{examples|}}}| | ||
Line 140: | Line 284: | ||
{{#vardefine:sort|{{lcfirst:{{#var:name}}}}}} | {{#vardefine:sort|{{lcfirst:{{#var:name}}}}}} | ||
{{#if:{{#var:newbie}}|| | {{#if:{{#var:newbie}}|| | ||
Line 157: | Line 299: | ||
}} | }} | ||
{{#if:{{#var:examples}}{{{examples|}}}| | {{#if:{{#var:examples}}{{{examples|}}}| | ||
Line 248: | Line 382: | ||
}} | }} | ||
}}<div id="RealTitleBanner" style="display:none;"> | }}<includeonly><div id="RealTitleBanner" style="display:none;"> | ||
<span id="RealTitle">{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{#var: | <span id="RealTitle">{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{#var:Name}}</span></div> __NOEDITSECTION__ {{DEFAULTSORT:{{#var:sort}}}} | ||
</includeonly>{{#var:header}} | </includeonly>{{#var:header}} | ||
{{RightToc|font-size:80%}} | {{RightToc|font-size:80%}} | ||
Line 256: | Line 390: | ||
default [[#{{anchorencode:Important Issues}}|There {{#ifeq:{{#var:BugCounter}}|1|is 1 important Jira Issue|are {{#var:BugCounter}} important Jira Issues}} pertaining to this function.]] | 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 | desc none | ||
}}</div>}}<span id="{{anchorencode:Description}}" 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;"> Constant: [[{{#var: | }}</div>}}<span id="{{anchorencode:Description}}" 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;"> Constant: [[{{#var:Type}}{{#var:lang}}|{{#var:Type}}]] {{HoverLink|1={{#var:Name}}{{#var:lang}}|2={{#var:comment}}|3={{#var:Name}}}} = {{#var:Value}}; </span> | ||
<div style="padding: 0.5em">{{#if:{{{float|}}}{{#var:float}}|<div style="float:right;"> | <div style="padding: 0.5em">{{#if:{{{float|}}}{{#var:float}}|<div style="float:right;"> | ||
{{{float|}}}{{#var:float}} | {{{float|}}}{{#var:float}} | ||
</div>}} | </div>}} | ||
The {{#var: | The {{#var:Type}} constant {{#var:Name}} has the value {{#var:Value}}{{#if:{{{desc|}}}{{#var:desc}}|<br/><br/> | ||
{{{desc|}}}{{#var:desc}}|[[Category:LSL FixMe{{#var:lang}}]]}} | {{{desc|}}}{{#var:desc}}|[[Category:LSL FixMe{{#var:lang}}]]}} | ||
</div></div> | </div></div> | ||
{{#if:{{#var:getpp}}| | |||
{{#var:getpp}} | {{#var:getpp}} | ||
}}{{#if:{{#var:setpp}}| | |||
{{#var:setpp}} | {{#var:setpp}} | ||
{{#if:{{{pa|}}}{{#var:pa}}| | }}{{#if:{{{pa|}}}{{#var:pa}}| | ||
{{{pa|}}}{{#var:pa}} | {{{pa|}}}{{#var:pa}} | ||
}}{{#if:{{{pb|}}}{{#var:pb}}| | }}{{#if:{{{pb|}}}{{#var:pb}}| | ||
Line 277: | Line 413: | ||
== Caveats == | == Caveats == | ||
<div style="padding: 0.5em"> | <div style="padding: 0.5em"> | ||
{{#var:caveats}} | |||
{{#var:caveats | |||
</div></div><div id="box"> | </div></div><div id="box"> | ||
== Related Articles == | == Related Articles == | ||
Line 315: | Line 450: | ||
{{{history|}}}{{#var:history}} | {{{history|}}}{{#var:history}} | ||
</div>}} | </div>}} | ||
{{Anchor|Issues}}{{LSL_Generic/Issues}}{{#if:{{#var:also_tests}}| | {{#if:{{#pos:{{#var:moded}}|u}}||{{Anchor|Issues}}{{LSL_Generic/Issues|issues={{#var:issues}}}}}}{{#if:{{#var:also_tests}}| | ||
<h3>Tests</h3> | <h3>Tests</h3> | ||
{{{!}} | {{{!}} | ||
Line 327: | Line 462: | ||
{{{{#if:{{#var:footnotes}}|Footnotes|}}|}} | {{{{#if:{{#var:footnotes}}|Footnotes|}}|}} | ||
}} | }} | ||
</div></div>{{#if:{{{cat1|}}}|[[Category:LSL {{{cat1 | </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 Constants{{#var:lang}}|{{#var:Name}}]] [[Category:LSL {{ucfirst:{{#var:type}}}}{{#var:lang}}|{{#var:Name}}]] {{#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}}]]}}}} {{#if:{{#var:examples}}||[[Category:LSL Needs Example{{#var:lang}}]]}} {{LSL Unhelpful|{{#var:Name}}|}} }} {{#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}}]]}} }} }} |
Latest revision as of 05:20, 4 January 2011
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
See User:Strife Onizuka/Constant/docs for documentation.
This is a PrimitiveParams specific template.
Description
Constant: [[|]] [[|]] = ;The constant has the value
llGetPrimitiveParams
llGetPrimitiveParams([ [[|]] ])Returns the list [ ]
The same syntax applies to llGetLinkPrimitiveParams, but with an additional prefixed link parameter in the function call.
llSetPrimitiveParams
llSetPrimitiveParams([ [[|]] ])The same syntax applies to llSetLinkPrimitiveParams and llSetLinkPrimitiveParamsFast but with an additional prefixed link parameter in the function call.