Difference between revisions of "Template:LSL Function"

From Second Life Wiki
Jump to navigation Jump to search
(Replace deprecated ParserFunctions "#pad" with built-in "Magic word" "padleft")
(Drop obsolete function id)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Multi-lang|category=LSL|2=}}{{LSL Header{{#var:lang}}}} __NOTOC__ <noinclude>
{{Multi-lang|category=LSL|2=}}{{LSL Header{{#var:lang}}}} __NOTOC__ <noinclude>
See [[{{#var:langbase}}/docs{{#var:lang}}]] for documentation.
See [[{{#var:langbase}}/docs{{#var:lang}}]] for documentation.
</noinclude><includeonly>{{#if:{{#var:sort}}||{{#if:{{{sort|}}}|{{#vardefine:sort|{{{sort|}}}}}|{{#if:{{LSL_Sort}}}}}}}}<div id="sort" style="display:none">{{DEFAULTSORT:{{#var:sort}}}}{{#var:sort}}</div>{{#if:{{#var:nofixname}}||{{#if:{{#pos:{{lc:{{FULLPAGENAMEE}}}}|{{lc:{{{func}}}}}}}|<div id="RealTitleBanner" style="display:none"><span id="RealTitle">{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{{func}}}</span></div>}}}}{{#if:
</noinclude><includeonly>{{DISPLAYTITLE:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{lcfirst:{{PAGENAME}}}}}}<!--
I have no idea if the following is still used or I am misunderstanding it. Keeping it for now. -->{{#if:{{#var:sort}}||{{#if:{{{sort|}}}|{{#vardefine:sort|{{{sort|}}}}}|{{#if:{{LSL_Sort}}}}}}}}<div id="sort" style="display:none">{{DEFAULTSORT:{{#var:sort}}}}{{#var:sort}}</div>{{#if:{{#var:nofixname}}||{{#if:{{#pos:{{lc:{{FULLPAGENAMEE}}}}|{{lc:{{{func}}}}}}}|<div id="RealTitleBanner" style="display:none"><span id="RealTitle">{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{{func}}}</span></div>}}}}{{#if:


{{#vardefine:article_type|function}}
{{#vardefine:article_type|function}}
Line 158: Line 159:
{{{lso|}}}{{PBR}}}}
{{{lso|}}}{{PBR}}}}
}}
}}
{{#vardefine:issues|{{#var:issues}}
{{{issues|}}}}}


{{#vardefine:also_tests|{{#var:also_tests}}
{{#vardefine:also_tests|{{#var:also_tests}}
Line 187: Line 185:
{{!}}- style="font-size:75%;"
{{!}}- style="font-size:75%;"
{{!}}+
{{!}}+
{{!}}-
{{!}} {{HoverText|{{#var:func_id}}|The function index number.}}
{{!}} [[LSL Function ID{{#var:lang}}|Function ID]]
{{!}}-
{{!}}-
{{!}} {{HoverText|{{{func_sleep|}}}|The number of seconds this script will sleep after executing this function.}}{{HoverText|{{{func_sleep_frame|}}}|The number of frames this script will sleep after executing this function.}}{{#if:{{{func_sleep_note|}}}|{{HoverLink|#caveats-sleep|3=*|2={{{func_sleep_hover|{{{func_sleep_note|}}}}}}}}}}
{{!}} {{HoverText|{{{func_sleep|}}}|The number of seconds this script will sleep after executing this function.}}{{HoverText|{{{func_sleep_frame|}}}|The number of frames this script will sleep after executing this function.}}{{#if:{{{func_sleep_note|}}}|{{HoverLink|#caveats-sleep|3=*|2={{{func_sleep_hover|{{{func_sleep_note|}}}}}}}}}}
Line 297: Line 292:
{{#var:also_footer}}
{{#var:also_footer}}
</div>}}
</div>}}
</div></div>}}{{#if:{{#var:deepnotes}}{{#var:mono}}{{#var:lso}}{{#var:history}}{{#var:also_tests}}{{#var:issues{{#var:direction}}}}{{#var:location}}{{#var:messaging}}{{#var:footnotes}}{{#if:{{#pos:{{#var:moded}}|u}}||1}}{{{signature|}}}{{{haiku|}}}{{{poetry|}}}|<div id="box">
</div></div>}}{{#if:{{#var:deepnotes}}{{#var:mono}}{{#var:lso}}{{#var:history}}{{#var:also_tests}}{{#var:location}}{{#var:messaging}}{{#var:footnotes}}{{#if:{{#pos:{{#var:moded}}|u}}||1}}{{{signature|}}}{{{haiku|}}}{{{poetry|}}}|<div id="box">
== Deep Notes ==
== Deep Notes ==
<div style="padding: 0.5em"><div>
<div style="padding: 0.5em"><div>
Line 313: Line 308:
{{!}}}
{{!}}}
</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:08, 8 September 2024