Difference between revisions of "Template:LSL Function/face"
Jump to navigation
Jump to search
(wording was bad) |
m |
||
Line 9: | Line 9: | ||
{{#vardefine:p_{{{1|none}}}_hover|face number{{#ifeq:{{{notall|}}}|*||<nowiki> </nowiki>or ALL_SIDES (-1)}}}} | {{#vardefine:p_{{{1|none}}}_hover|face number{{#ifeq:{{{notall|}}}|*||<nowiki> </nowiki>or ALL_SIDES (-1)}}}} | ||
{{#ifeq:{{{notall|}}}|*||{{#vardefine:facechoise|If | {{#ifeq:{{{notall|}}}|*||{{#vardefine:facechoise|If {{LSLP|{{{1|none}}}}} is {{#var:ALL_SIDES}} then the {{#if:{{{2|}}}|{{{2|}}}|function}} {{#if:{{{get|}}}|{{{get|}}}|{{#if:{{{ALL_SIDES|}}}|{{{ALL_SIDES|}}}|works on all sides.}}}}}}}} | ||
{{#vardefine:header_footnote|{{#var:header_footnote}}{{#if:{{{!footer|}}}||{{PBR}} | {{#vardefine:header_footnote|{{#var:header_footnote}}{{#if:{{{!footer|}}}||{{PBR}} | ||
Line 16: | Line 16: | ||
{{#vardefine:caveats|{{#var:caveats}}{{#if:{{{!footer|}}}| | {{#vardefine:caveats|{{#var:caveats}}{{#if:{{{!footer|}}}| | ||
*{{#var:facechoise}}|}}{{#if:{{{return|}}}{{{returns|}}}| | *{{#var:facechoise}}|}}{{#if:{{{return|}}}{{{returns|}}}| | ||
*If | *If {{LSLP|{{{1|none}}}}} indicates a face that does not exist the {{#if:{{{2|}}}|{{{2|}}}}} {{#if:{{{return|}}}|return is {{{return|}}}| returns {{{returns|}}}}}| | ||
*The {{#if:{{{2|}}}|{{{2|}}}|function}} silently fails if its | *The {{#if:{{{2|}}}|{{{2|}}}|function}} silently fails if its {{LSLP|{{{1|none}}}}} value indicates a face that does not exist.}}}} | ||
}}<noinclude> | }}<noinclude> |
Revision as of 22:34, 6 June 2012
#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 |
|