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

From Second Life Wiki
Jump to: navigation, search
(need to fix allsides)
m
Line 1: Line 1:
 
{{#if:
 
{{#if:
  
{{#vardefine:header|{{#var:header}}{{#if:{{{nc|}}}{{#pos:{{#var:moded}}|r}}||
+
{{#vardefine:header|{{#var:header}}{{#if:{{{nc|}}}{{#pos:{{#var:moded}}|r}}||{{#switch:{{NAMESPACE}}|Template=|User=|[[Category:LSL Face{{#var:lang}}]]}}}}}}
{{#switch:{{NAMESPACE}}|Template=|User=|[[Category:LSL Face{{#var:lang}}]]}}{{#if:{{{ALL_SIDES|}}}|[[Category:ALL_SIDES]]}}
+
}}}}
+
  
 
{{#vardefine:ALL_SIDES|{{LSL Const|ALL_SIDES|integer|-1|hex=0xFFFFFFFF}}}}
 
{{#vardefine:ALL_SIDES|{{LSL Const|ALL_SIDES|integer|-1|hex=0xFFFFFFFF}}}}

Revision as of 18:28, 14 October 2010

#var value
ALL_SIDES ALL_SIDES
p_none_desc face number or ALL_SIDES
p_none_hover face number or ALL_SIDES (-1)
facechoise If none is ALL_SIDES then the function works on all sides.
header_footnote

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

caveats
  • The function silently fails if its none value indicates a face that does not exist.