Difference between revisions of "User:Strife Onizuka/Sandbox/Switch/Switch"

From Second Life Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
{{Multi-lang|category=LSL}}{{LSL Header{{#var:lang}}}} __NOTOC__ <noinclude>
{{Multi-lang}}{{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:{{#vardefine:sort|{{#if:{{#var:sort}}|{{#var:sort}}|{{{sort|}}}}}}}{{{{#if:{{#var:sort}}|!|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>{{#if:{{#vardefine:sort|{{#if:{{#var:sort}}|{{#var:sort}}|{{{sort|}}}}}}}{{{{#if:{{#var:sort}}|!|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:
Line 70: Line 70:
''(Please use 'return_text' & 'return_type' or 'func_desc' to describe the functions actions.)''</div></div>{{#if:{{#var:self}}|| [[Category:LSL FixMe]] }} }}
''(Please use 'return_text' & 'return_type' or 'func_desc' to describe the functions actions.)''</div></div>{{#if:{{#var:self}}|| [[Category:LSL FixMe]] }} }}
{{RightToc|font-size:80%}}
{{RightToc|font-size:80%}}
<div id="box"><h2 style="display:none"> Description </h2><span id="{{anchorencode:Description}}" class="mw-headline" style="display:block; padding-bottom:0.17em; padding-top:0.5em; background:transparent none repeat scroll 0% 0%; color:#546368; font-family:Arial,Helvetica,Sans-Serif; background-color:#F4F8FB; border-bottom:1px dotted #AAAAAA; font-size:120%; font-weight:bold; margin:0pt; padding:0.2em 0.5em; text-align:left;"> Function: {{#if:{{{return_type|}}}|[[{{{return_type|}}}{{#var:lang}}|{{{return_type|}}}]]||}} [[{{{func}}}{{#var:lang}}|{{{func}}}]]( {{#if:{{{p1_name|}}}{{{p1_type|}}}| [[{{{p1_type|}}}{{#var:lang}}|{{{p1_type|}}}]] {{LSL Param|{{{p1_name|}}}}}{{#if:{{{p2_name|}}}{{{p2_type|}}}|, [[{{{p2_type|}}}{{#var:lang}}|{{{p2_type|}}}]] {{LSL Param|{{{p2_name|}}}}}{{#if:{{{p3_name|}}}{{{p3_type|}}}|, [[{{{p3_type|}}}{{#var:lang}}|{{{p3_type|}}}]] {{LSL Param|{{{p3_name|}}}}}{{#if:{{{p4_name|}}}{{{p4_type|}}}|, [[{{{p4_type|}}}{{#var:lang}}|{{{p4_type|}}}]] {{LSL Param|{{{p4_name|}}}}}{{#if:{{{p5_name|}}}{{{p5_type|}}}|, [[{{{p5_type|}}}{{#var:lang}}|{{{p5_type|}}}]] {{LSL Param|{{{p5_name|}}}}}{{#if:{{{p6_name|}}}{{{p6_type|}}}|, [[{{{p6_type|}}}{{#var:lang}}|{{{p6_type|}}}]] {{LSL Param|{{{p6_name|}}}}}{{#if:{{{p7_name|}}}{{{p7_type|}}}|, [[{{{p7_type|}}}{{#var:lang}}|{{{p7_type|}}}]] {{LSL Param|{{{p7_name|}}}}}{{#if:{{{p8_name|}}}{{{p8_type|}}}|, [[{{{p8_type|}}}{{#var:lang}}|{{{p8_type|}}}]] {{LSL Param|{{{p8_name|}}}}}{{#if:{{{p9_name|}}}{{{p9_type|}}}|, [[{{{p9_type|}}}{{#var:lang}}|{{{p9_type|}}}]] {{LSL Param|{{{p9_name|}}}}}{{#if:{{{p10_name|}}}{{{p10_type|}}}|, [[{{{p10_type|}}}{{#var:lang}}|{{{p10_type|}}}]] {{LSL Param|{{{p10_name|}}}}}{{#if:{{{p11_name|}}}{{{p11_type|}}}|, [[{{{p11_type|}}}{{#var:lang}}|{{{p11_type|}}}]] {{LSL Param|{{{p11_name|}}}}}{{#if:{{{p12_name|}}}{{{p12_type|}}}|, [[{{{p12_type|}}}{{#var:lang}}|{{{p12_type|}}}]] {{LSL Param|{{{p12_name|}}}}}}}}}}}}}}}}}}}}}}}}}}}}} )<nowiki>;</nowiki></span>
<div id="box"><h2 style="display:none"> Description </h2><span id="{{anchorencode:Description}}" class="mw-headline" style="display:block; padding-bottom:0.17em; padding-top:0.5em; background:transparent none repeat scroll 0% 0%; color:#546368; font-family:Arial,Helvetica,Sans-Serif; background-color:#F4F8FB; border-bottom:1px dotted #AAAAAA; font-size:120%; font-weight:bold; margin:0pt; padding:0.2em 0.5em; text-align:left;"> [[:Category:LSL_Functions{{#var:lang}}|Function]]: {{#if:{{{return_type|}}}|[[{{{return_type|}}}{{#var:lang}}|{{{return_type|}}}]]||}} [[{{{func}}}{{#var:lang}}|{{{func}}}]]( {{#if:{{{p1_name|}}}{{{p1_type|}}}| [[{{{p1_type|}}}{{#var:lang}}|{{{p1_type|}}}]] {{LSL Param|{{{p1_name|}}}}}{{#if:{{{p2_name|}}}{{{p2_type|}}}|, [[{{{p2_type|}}}{{#var:lang}}|{{{p2_type|}}}]] {{LSL Param|{{{p2_name|}}}}}{{#if:{{{p3_name|}}}{{{p3_type|}}}|, [[{{{p3_type|}}}{{#var:lang}}|{{{p3_type|}}}]] {{LSL Param|{{{p3_name|}}}}}{{#if:{{{p4_name|}}}{{{p4_type|}}}|, [[{{{p4_type|}}}{{#var:lang}}|{{{p4_type|}}}]] {{LSL Param|{{{p4_name|}}}}}{{#if:{{{p5_name|}}}{{{p5_type|}}}|, [[{{{p5_type|}}}{{#var:lang}}|{{{p5_type|}}}]] {{LSL Param|{{{p5_name|}}}}}{{#if:{{{p6_name|}}}{{{p6_type|}}}|, [[{{{p6_type|}}}{{#var:lang}}|{{{p6_type|}}}]] {{LSL Param|{{{p6_name|}}}}}{{#if:{{{p7_name|}}}{{{p7_type|}}}|, [[{{{p7_type|}}}{{#var:lang}}|{{{p7_type|}}}]] {{LSL Param|{{{p7_name|}}}}}{{#if:{{{p8_name|}}}{{{p8_type|}}}|, [[{{{p8_type|}}}{{#var:lang}}|{{{p8_type|}}}]] {{LSL Param|{{{p8_name|}}}}}{{#if:{{{p9_name|}}}{{{p9_type|}}}|, [[{{{p9_type|}}}{{#var:lang}}|{{{p9_type|}}}]] {{LSL Param|{{{p9_name|}}}}}{{#if:{{{p10_name|}}}{{{p10_type|}}}|, [[{{{p10_type|}}}{{#var:lang}}|{{{p10_type|}}}]] {{LSL Param|{{{p10_name|}}}}}{{#if:{{{p11_name|}}}{{{p11_type|}}}|, [[{{{p11_type|}}}{{#var:lang}}|{{{p11_type|}}}]] {{LSL Param|{{{p11_name|}}}}}{{#if:{{{p12_name|}}}{{{p12_type|}}}|, [[{{{p12_type|}}}{{#var:lang}}|{{{p12_type|}}}]] {{LSL Param|{{{p12_name|}}}}}}}}}}}}}}}}}}}}}}}}}}}}} )<nowiki>;</nowiki></span>
<div style="padding: 0.5em; min-height: {{#if:{{{func_complexity|}}}|6em;|5em;}}">{{#ifeq:{{#var:mode}}|user|{{#if:{{#var:floater}}|<div id="box" style="float:right;">{{#var:floater}}</div>}}|<div id="box" style="float:right; margin: 0 0.5em;">
<div style="padding: 0.5em; min-height: {{#if:{{{func_complexity|}}}|6em;|5em;}}">{{#ifeq:{{#var:mode}}|user|{{#if:{{#var:floater}}|<div id="box" style="float:right;">{{#var:floater}}</div>}}|<div id="box" style="float:right; margin: 0 0.5em; font-size:90%;">
{{{!}} class="collapsible"
{{{!}} class="collapsible"
{{!}}- style="font-size:75%;"
{{!}}- style="font-size:75%;"
Line 105: Line 105:
}}}}}}}}}}}}}}}}}}}}}}
}}}}}}}}}}}}}}}}}}}}}}
{{!}}} }}
{{!}}} }}
{{#if:{{#var:header_footnote}}|{{#var:header_footnote}}}}
{{#if:{{#var:header_footnote}}|<div>
{{#var:header_footnote}}
</div>}}
</div></div>{{#ifexist:{{#var:newbie}}|<div id="box">
</div></div>{{#ifexist:{{#var:newbie}}|<div id="box">
<h2>[[{{#var:newbie}}|Newbie Notes]]</h2>
<h2>[[{{#var:newbie}}|Newbie Notes]]</h2>
Line 164: Line 166:
{{!}}} }}
{{!}}} }}
{{#if:{{#var:also_footer}}|<br/>{{#var:also_footer}}}}
{{#if:{{#var:also_footer}}|<br/>{{#var:also_footer}}}}
</div></div>}}{{#if:{{{history|}}}{{#var:history}}{{{issues|}}}{{#var:issues}}{{#var:location}}{{#var:footnotes}}{{{dn_general|}}}{{#var:dn_general}}{{{mono|}}}{{#var:mono}}{{{lso|}}}{{#var:lso}}|
</div></div>}}{{#if:{{{history|}}}{{#var:history}}{{{issues|}}}{{#var:issues}}{{#var:location}}{{#var:footnotes}}{{{deepnotes|}}}{{#var:deepnotes}}{{{mono|}}}{{#var:mono}}{{{lso|}}}{{#var:lso}}|
<div id="box">
<div id="box">
== Deep Notes ==
== Deep Notes ==
<div style="padding: 0.5em">
<div style="padding: 0.5em"><div>
<div>
{{{deepnotes|}}}{{#var:deepnotes}}
{{{deepnotes|}}}{{#var:deepnotes}}
</div>
</div>{{#if:{{{mono|}}}{{#var:mono}}|
{{#if:{{{mono|}}}{{#var:mono}}|
<h4> Mono VM Notes </h4><div>
<h4> Mono VM Notes </h4>
<div>
{{{mono|}}}{{#var:mono}}
{{{mono|}}}{{#var:mono}}
</div>}}{{#if:{{{lso|}}}{{#var:lso}}|
</div>}}{{#if:{{{lso|}}}{{#var:lso}}|
<h4> LSO VM Notes </h4>
<h4> LSO VM Notes </h4><div>
<div>
{{{lso|}}}{{#var:lso}}
{{{lso|}}}{{#var:lso}}
</div>}}{{#if:{{{history|}}}{{#var:history}}|
</div>}}{{#if:{{{history|}}}{{#var:history}}|
<h4> History </h4>
<h4> History </h4><div>
<div>
{{{history|}}}{{#var:history}}
{{{history|}}}{{#var:history}}
</div>}}{{#if:{{{issues|}}}{{#var:issues}}|
</div>}}{{#if:{{{issues|}}}{{#var:issues}}|
Line 189: Line 186:
{{!}}}
{{!}}}
}}{{#if:{{#var:location}}|
}}{{#if:{{#var:location}}|
<h4> Source </h4>
<h4> Source </h4><div>
<div>
{{#var:location}}
{{#var:location}}
</div>}}{{#if:{{#var:footnotes}}|
</div>}}{{#if:{{#var:footnotes}}|
<h4 style="margin-bottom:0;"> Footnotes </h4>
<h4 style="margin-bottom:0;"> Footnotes </h4>
<div>
{{{{#if:{{#var:footnotes}}|Footnotes|!}}|}}
{{{{#if:{{#var:footnotes}}|Footnotes|!}}|}}
</div>
}}
}}
</div></div>}}{{#if:{{{comments|}}}|<div id="box">
</div></div>}}{{#if:{{{comments|}}}|<div id="box">
Line 203: Line 197:
{{{comments|}}}
{{{comments|}}}
</div></div>}}
</div></div>}}
{{#var:footer}} {{#if:{{#var:self}}|| {{#switch:{{#var:mode}}|request|user=| [[Category:LSL Functions{{#var:lang}}]] [[Category:LSL Functions/ID{{#var:lang}}| {{padleft:{{#var:func_id}}|5|0}}]] {{#if:{{#var:examples}}||[[Category:LSL Needs Example{{#var:lang}}]]}}}} {{#if:{{{cat1|}}}|[[Category:LSL {{{cat1}}}]]}} {{#if:{{{cat2|}}}|[[Category:LSL {{{cat2}}}]]}} {{#if:{{{cat3|}}}|[[Category:LSL {{{cat3}}}]]}} {{#if:{{{cat4|}}}|[[Category:LSL {{{cat4}}}]]}} {{#if:{{{cat5|}}}|[[Category:LSL {{{cat5}}}]]}} {{#if:{{{cat6|}}}|[[Category:LSL {{{cat6}}}]]}} {{#if:{{{cat7|}}}|[[Category:LSL {{{cat7}}}]]}} {{#if:{{{cat8|}}}|[[Category:LSL {{{cat8}}}]]}} }}</includeonly>
{{#var:footer}} {{#if:{{#var:self}}|| {{#switch:{{#var:mode}}|request|user=| {{LSL Unhelpful|{{#var:func}}|}} [[Category:LSL Functions{{#var:lang}}]] [[Category:LSL Functions/ID{{#var:lang}}| {{padleft:{{#var:func_id}}|5|0}}]] {{#if:{{#var:examples}}||[[Category:LSL Needs Example{{#var:lang}}]]}} }} {{#if:{{{cat1|}}}|[[Category:LSL {{{cat1}}}]]}} {{#if:{{{cat2|}}}|[[Category:LSL {{{cat2}}}]]}} {{#if:{{{cat3|}}}|[[Category:LSL {{{cat3}}}]]}} {{#if:{{{cat4|}}}|[[Category:LSL {{{cat4}}}]]}} {{#if:{{{cat5|}}}|[[Category:LSL {{{cat5}}}]]}} {{#if:{{{cat6|}}}|[[Category:LSL {{{cat6}}}]]}} {{#if:{{{cat7|}}}|[[Category:LSL {{{cat7}}}]]}} {{#if:{{{cat8|}}}|[[Category:LSL {{{cat8}}}]]}} }}</includeonly>

Revision as of 13:30, 21 September 2008