Difference between revisions of "Template:LSL Function/face"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
{{#vardefine:p_{{{1|none}}}_hover|face number or 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: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|}}}| | {{#vardefine:caveats|{{#var:caveats}}{{#if:{{{return|}}}{{{returns|}}}| | ||
*If '''{{LSL_Param|{{{1|none}}}}}''' indicates a face that does not exist the return {{#if:{{{2|}}}|for the {{{2|}}} }} is {{{return|}}}.| | *If '''{{LSL_Param|{{{1|none}}}}}''' indicates a face that does not exist the return {{#if:{{{2|}}}|for the {{{2|}}} }} {{#if:{{{return|}}} is {{{return|}}}.| are {{{returns|}}}.}}| | ||
*The {{#if:{{{2|}}}|{{{2|}}}|function}} silently fails if '''{{LSL_Param|{{{1|none}}}}}''' indicates a face that does not exist}}}} | *The {{#if:{{{2|}}}|{{{2|}}}|function}} silently fails if '''{{LSL_Param|{{{1|none}}}}}''' indicates a face that does not exist}}}} | ||
}}<noinclude> | }}<noinclude> |