Difference between revisions of "Template:LSL Function/boolean"
Jump to navigation
Jump to search
m |
m (this template was always too complicated and mostly useless ~_~) |
||
Line 1: | Line 1: | ||
{{#if: | {{#if: | ||
{{#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|}}}_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> | }}<noinclude> | ||
{{{{FULLPAGENAME}}|bool|bool=*|pd=1|ph=2}} | {| {{Prettytable}} | ||
|+<code><nowiki>{{{{FULLPAGENAME}}|bool|bool=*|pd=1|ph=2}}</nowiki></code>{{{{FULLPAGENAME}}|bool|bool=*|pd=1|ph=2}} | |||
*{{#var | |-{{Hl2}} | ||
! #var | |||
! value | |||
|- | |||
{{VarPair|p_bool_desc}} | |||
|- | |||
{{VarPair|p_bool_hover}} | |||
|} | |||
{| {{Prettytable}} | |||
|+<code><nowiki>{{{{FULLPAGENAME}}|bool|bool=*|pd=1|ph=2|td=3|th=4|fd=5|fh=6}}</nowiki></code>{{{{FULLPAGENAME}}|bool|bool=*|pd=1|ph=2|td=3|th=4|fd=5|fh=6}} | |||
|-{{Hl2}} | |||
! #var | |||
! value | |||
|- | |||
{{VarPair|p_bool_desc}} | |||
|- | |||
{{VarPair|p_bool_hover}} | |||
|} | |||
</noinclude> |
Revision as of 06:28, 16 April 2009
#var | value |
---|---|
p_bool_desc | boolean, 1 TRUE enables, FALSE disables |
p_bool_hover | boolean, 2 TRUE enables, FALSE disables |
#var | value |
---|---|
p_bool_desc | boolean, 1 TRUE 3, FALSE 5 |
p_bool_hover | boolean, 2 TRUE 4, FALSE 6 |