Difference between revisions of "Template:LSL Function"
Jump to navigation
Jump to search
m (explicit not needed but we do need collapsing to make templates work nicely.) |
m (missed a collapse point, this change should also keep the dread p tag away.) |
||
Line 16: | Line 16: | ||
{{{{#if:{{{deprecated|}}}|LSL_Generic/deprecated{{#var:lang}}|!}}|{{{deprecated|}}}|}} | {{{{#if:{{{deprecated|}}}|LSL_Generic/deprecated{{#var:lang}}|!}}|{{{deprecated|}}}|}} | ||
{{#vardefine:header_desc|{{#var:header_desc}}{{PBR}} | {{#vardefine:PBR|{{#if:{{#var:header_desc}}{{{func_desc|}}}|{{PBR}}}}}} | ||
{{{func_desc|}}}{{PBR}}}} | {{#vardefine:header_desc|{{#var:header_desc}}{{#var:PBR}} | ||
{{{func_desc|}}}{{#var:PBR}}}} | |||
{{#vardefine:return_text|{{#var:return_text}}{{{return_text|}}} }} | {{#vardefine:return_text|{{#var:return_text}}{{{return_text|}}} }} | ||
Line 54: | Line 55: | ||
{{#vardefine:PBR|{{#if:{{#var:spec}}{{{spec|}}}|{{PBR}}}}}} | {{#vardefine:PBR|{{#if:{{#var:spec}}{{{spec|}}}|{{PBR}}}}}} | ||
{{#vardefine:spec|{{#var:spec}}{{#var:PBR}} | {{#vardefine:spec|{{#var:spec}}{{#var:PBR}} | ||
{{{spec|}}}}} | {{{spec|}}}{{#var:PBR}}}} | ||
{{#vardefine:PBR|{{#if:{{#var:constants_nb}}{{{constants|}}}|{{PBR}}}}}} | {{#vardefine:PBR|{{#if:{{#var:constants_nb}}{{{constants|}}}|{{PBR}}}}}} | ||
{{#vardefine:constants_nb|{{#var:constants_nb}}{{#var:PBR}} | {{#vardefine:constants_nb|{{#var:constants_nb}}{{#var:PBR}} | ||
{{{constants|}}}}} | {{{constants|}}}{{#var:PBR}}}} | ||
{{#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|}}}|{{#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|}}}|{{#if:{{{func_sleep_note|}}}|* <span id="caveats-sleep"></span> {{{func_sleep_note|}}}}}}}{{#if:{{#var:caveats}}| | ||
Line 66: | Line 67: | ||
{{#vardefine:PBR|{{#if:{{#var:examples}}{{{examples|}}}|{{PBR}}}}}} | {{#vardefine:PBR|{{#if:{{#var:examples}}{{{examples|}}}|{{PBR}}}}}} | ||
{{#vardefine:examples|{{#var:examples}}{{#var:PBR}} | {{#vardefine:examples|{{#var:examples}}{{#var:PBR}} | ||
{{{examples|}}}}} | {{{examples|}}}{{#var:PBR}}}} | ||
{{#vardefine:PBR|{{#if:{{#var:helpers}}{{{helpers|}}}|{{PBR}}}}}} | {{#vardefine:PBR|{{#if:{{#var:helpers}}{{{helpers|}}}|{{PBR}}}}}} | ||
{{#vardefine:helpers|{{#var:helpers}}{{#var:PBR}} | {{#vardefine:helpers|{{#var:helpers}}{{#var:PBR}} | ||
{{{helpers|}}}}} | {{{helpers|}}}{{#var:PBR}}}} | ||
{{#vardefine:PBR|{{#if:{{#var:also_header}}{{{also_header|}}}|{{PBR}}}}}} | {{#vardefine:PBR|{{#if:{{#var:also_header}}{{{also_header|}}}|{{PBR}}}}}} | ||
{{#vardefine:also_header|{{#var:also_header}}{{#var:PBR}} | {{#vardefine:also_header|{{#var:also_header}}{{#var:PBR}} | ||
{{{also_header|}}}}} | {{{also_header|}}}{{#var:PBR}}}} | ||
{{#vardefine:also_events|{{#var:also_events}} | {{#vardefine:also_events|{{#var:also_events}} | ||
Line 90: | Line 91: | ||
{{#vardefine:PBR|{{#if:{{#var:also_footer}}{{{also_footer|}}}|{{PBR}}}}}} | {{#vardefine:PBR|{{#if:{{#var:also_footer}}{{{also_footer|}}}|{{PBR}}}}}} | ||
{{#vardefine:also_footer|{{#var:also_footer}}{{#var:PBR}} | {{#vardefine:also_footer|{{#var:also_footer}}{{#var:PBR}} | ||
{{{also_footer|}}}}} | {{{also_footer|}}}{{#var:PBR}}}} | ||
{{#vardefine:PBR|{{#if:{{#var:notes}}{{{notes|}}}|{{PBR}}}}}} | {{#vardefine:PBR|{{#if:{{#var:notes}}{{{notes|}}}|{{PBR}}}}}} | ||
{{#vardefine:notes|{{#var:notes}}{{#var:PBR}} | {{#vardefine:notes|{{#var:notes}}{{#var:PBR}} | ||
{{{notes|}}}}} | {{{notes|}}}{{#var:PBR}}}} | ||
{{#vardefine:PBR|{{#if:{{#var:history}}{{{history|}}}|{{PBR}}}}}} | {{#vardefine:PBR|{{#if:{{#var:history}}{{{history|}}}|{{PBR}}}}}} | ||
{{#vardefine:history|{{#var:history}}{{#var:PBR}} | {{#vardefine:history|{{#var:history}}{{#var:PBR}} | ||
{{{history|}}}}} | {{{history|}}}{{#var:PBR}}}} | ||
{{#vardefine:PBR|{{#if:{{#var:deepnotes}}{{{deepnotes|}}}|{{PBR}}}}}} | {{#vardefine:PBR|{{#if:{{#var:deepnotes}}{{{deepnotes|}}}|{{PBR}}}}}} | ||
{{#vardefine:deepnotes|{{#var:deepnotes}}{{#var:PBR}} | {{#vardefine:deepnotes|{{#var:deepnotes}}{{#var:PBR}} | ||
{{{deepnotes|}}}}} | {{{deepnotes|}}}{{#var:PBR}}}} | ||
{{#vardefine:PBR|{{#if:{{#var:mono}}{{{mono|}}}|{{PBR}}}}}} | {{#vardefine:PBR|{{#if:{{#var:mono}}{{{mono|}}}|{{PBR}}}}}} | ||
{{#vardefine:mono|{{#var:mono}}{{#var:PBR}} | {{#vardefine:mono|{{#var:mono}}{{#var:PBR}} | ||
{{{mono|}}}}} | {{{mono|}}}{{#var:PBR}}}} | ||
{{#vardefine:PBR|{{#if:{{#var:lso}}{{{lso|}}}|{{PBR}}}}}} | {{#vardefine:PBR|{{#if:{{#var:lso}}{{{lso|}}}|{{PBR}}}}}} | ||
{{#vardefine:lso|{{#var:lso}}{{#var:PBR}} | {{#vardefine:lso|{{#var:lso}}{{#var:PBR}} | ||
{{{lso|}}}}} | {{{lso|}}}{{#var:PBR}}}} | ||
{{#vardefine:issues|{{#var:issues}} | {{#vardefine:issues|{{#var:issues}} | ||
Line 120: | Line 121: | ||
{{#vardefine:PBR|{{#if:{{#var:location}}{{{location|}}}|{{PBR}}}}}} | {{#vardefine:PBR|{{#if:{{#var:location}}{{{location|}}}|{{PBR}}}}}} | ||
{{#vardefine:location|{{#var:location}}{{#var:PBR}} | {{#vardefine:location|{{#var:location}}{{#var:PBR}} | ||
{{{location|}}}}} | {{{location|}}}{{#var:PBR}}}} | ||
}}{{#if:{{#var:self}}|| __NOEDITSECTION__ | }}{{#if:{{#var:self}}|| __NOEDITSECTION__ |
Revision as of 19:57, 17 April 2009
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
See Template:LSL Function/docs for documentation.