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

From Second Life Wiki
Jump to navigation Jump to search
(Replace deprecated ParserFunctions "#pad" with built-in "Magic word" "padleft")
 
Line 75: Line 75:
{{{constants|}}}{{PBR}}}}
{{{constants|}}}{{PBR}}}}
}}
}}
{{#vardefine:bugs|{{#var:bugs}}
{{{bugs|}}}}}


{{#vardefine:caveats|{{#ifexpr:{{{func_sleep|0.0}}}> 0.0|* <span id="caveats-sleep"></span> This function causes the script to sleep for {{{func_sleep|}}} seconds. {{{func_sleep_note|}}}|{{#ifexpr:{{{func_sleep_frame|0}}}> 0|* <span id="caveats-sleep"></span> This function causes the script to sleep for {{{func_sleep_frame|}}} {{#ifexpr:{{{func_sleep_frame}}}> 1|frames|frame}}. {{{func_sleep_note|}}}|{{#if:{{{func_sleep_note|}}}|* <span id="caveats-sleep"></span> {{{func_sleep_note|}}}}}}}}}{{#if:{{#var:caveats}}|
{{#vardefine:caveats|{{#ifexpr:{{{func_sleep|0.0}}}> 0.0|* <span id="caveats-sleep"></span> This function causes the script to sleep for {{{func_sleep|}}} seconds. {{{func_sleep_note|}}}|{{#ifexpr:{{{func_sleep_frame|0}}}> 0|* <span id="caveats-sleep"></span> This function causes the script to sleep for {{{func_sleep_frame|}}} {{#ifexpr:{{{func_sleep_frame}}}> 1|frames|frame}}. {{{func_sleep_note|}}}|{{#if:{{{func_sleep_note|}}}|* <span id="caveats-sleep"></span> {{{func_sleep_note|}}}}}}}}}{{#if:{{#var:caveats}}|
Line 150: Line 147:
{{{lso|}}}{{PBR}}}}
{{{lso|}}}{{PBR}}}}
}}
}}
{{#vardefine:issues|{{#var:issues}}
{{{issues|}}}}}


{{#vardefine:also_tests|{{#var:also_tests}}
{{#vardefine:also_tests|{{#var:also_tests}}
Line 259: Line 253:
{{#var:history}}
{{#var:history}}
</div>}}
</div>}}
{{Anchor|Issues}}{{LSL_Generic/Issues}}{{#if:{{#var:also_tests}}|
{{#if:{{#var:also_tests}}|
<h3>Tests</h3>
<h3>Tests</h3>
{{{!}}
{{{!}}

Latest revision as of 08:52, 8 September 2024