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

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{#vardefine:header_footnote|{{#if:{{#var:header_footnote}}|{{#var:header_footnote}}<br.>}}{{#if: {{{1|}}}| If '''{{{1}}}''' is {{LSLG|ALL_SIDES}} then the {{{2|function}}} work{{#if:{{{3|}}}||s}} on all sides. {{#ifeq:{{NAMESPACE}}|Template||{{LSLC|Face}}}}}}}}{{#vardefine:p_{{{1|none}}}_desc|{{LSLGC|Face|face}} number or {{LSLG|ALL_SIDES}} (-1)}}
{{#if:
{{#vardefine:p_{{{1|none}}}_desc|{{LSLGC|Face|face}} number or {{LSLG|ALL_SIDES}} (-1)}}
{{#vardefine:p_{{{1|none}}}_hover|face number or ALL_SIDES (-1)}}
{{#vardefine:header_footnote|{{#if:{{#var:header_footnote}}|{{#var:header_footnote}}<br/>}}If '''{{LSL_Param|{{{1|none}}}}}''' is {{LSLG|ALL_SIDES}} then the {{#if:{{{2|}}}|{{{2|}}}|function}} works on all sides. {{#switch:{{NAMESPACE}}|Template=|User=|{{LSLC|Face}}}}}}
{{#vardefine:caveats|{{#var:caveats}}{{#if:{{{return|}}}|
*If '''{{LSL_Param|{{{1|none}}}}}''' indicates a face that does not exist the return {{#if:{{{2|}}}|for the {{{2|}}} }} is {{{return|}}}.|
*The {{#if:{{{2|}}}|{{{2|}}}|function}} silently fails if '''{{LSL_Param|{{{1|none}}}}}''' indicates a face that does not exist}}}}
}}<noinclude>
{{#var:header_footnote}}
 
{{#var:caveats}}
 
{{#var:p_{{{1|none}}}_desc}}
 
{{#var:p_{{{1|none}}}_hover}}
</noinclude>

Revision as of 18:54, 29 April 2007

If none is ALL_SIDES then the function works on all sides.

  • The function silently fails if none indicates a face that does not exist

face number or ALL_SIDES (-1)

face number or ALL_SIDES (-1)