Difference between revisions of "Template:LSL Function/boolean"

From Second Life Wiki
Jump to: navigation, search
m
Line 1: Line 1:
 
{{#if:
 
{{#if:
{{#vardefine:p_{{{1|}}}_desc|{{#if:{{{bool|}}}|{{HoverLink|boolean|A type that can only be true or false}},}} {{{pd|}}} {{LSL Const|TRUE|integer|1}} {{#if:{{{td|}}}|{{{td|}}}|enables}}, {{LSL Const|FALSE|integer|0}} {{#if:{{{fd|}}}|{{{fd|}}}|disables}}}}
+
{{#vardefine:p_{{{1|}}}_desc|{{#if:{{{bool|}}}|{{HoverLink|boolean{{#var:lang}}|A type that can only be true or false|boolean}},}} {{{pd|}}} {{LSL Const{{#var:lang}}|TRUE|integer|1}} {{#if:{{{td|}}}|{{{td|}}}|enables}}, {{LSL Const{{#var:lang}}|FALSE|integer|0}} {{#if:{{{fd|}}}|{{{fd|}}}|disables}}}}
 
{{#vardefine:p_{{{1|}}}_hover|{{#if:{{{bool|}}}|boolean, }}{{#if:{{{ph|}}}|{{{ph|}}} |{{{pd|}}} }}TRUE {{#if:{{{th|}}}|{{{th|}}}|{{#if:{{{td|}}}|{{{td|}}}|enables}}}}, FALSE {{#if:{{{fh|}}}|{{{fh|}}}|{{#if:{{{fd|}}}|{{{fd|}}}|disables}}}}}}
 
{{#vardefine:p_{{{1|}}}_hover|{{#if:{{{bool|}}}|boolean, }}{{#if:{{{ph|}}}|{{{ph|}}} |{{{pd|}}} }}TRUE {{#if:{{{th|}}}|{{{th|}}}|{{#if:{{{td|}}}|{{{td|}}}|enables}}}}, FALSE {{#if:{{{fh|}}}|{{{fh|}}}|{{#if:{{{fd|}}}|{{{fd|}}}|disables}}}}}}
}}<noinclude>{{{{FULLPAGENAME}}|bool|bool=*|pd=ta|ph=to}}{{LSL Param|bool}}</noinclude>
+
}}<noinclude>
 +
{{{{FULLPAGENAME}}|bool|bool=*|pd=1|ph=2}}
 +
*{{#var:p_bool_hover}}
 +
*{{#var:p_bool_desc}}</noinclude>

Revision as of 19:25, 24 April 2008


  • boolean, 2 TRUE enables, FALSE disables
  • boolean, 1 TRUE enables, FALSE disables