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

From Second Life Wiki
Jump to navigation Jump to search
 
(8 intermediate revisions by the same user not shown)
Line 40: Line 40:
{{#vardefine:also_articles|{{#var:also_articles}}
{{#vardefine:also_articles|{{#var:also_articles}}
{{{also_articles|}}}}}
{{{also_articles|}}}}}
{{#vardefine:also_library|{{#var:also_library}}
{{{also_library|}}}}}
{{#vardefine:also_footer|{{#var:also_footer}}{{{also_footer|}}}}}
{{#vardefine:also_footer|{{#var:also_footer}}{{{also_footer|}}}}}
{{#vardefine:notes|{{#var:notes}}{{{notes|}}}}}
{{#vardefine:notes|{{#var:notes}}{{{notes|}}}}}
Line 68: Line 70:
<div id="box">
<div id="box">
<h2>Function: {{#if:{{{return_type|}}}|[[{{{return_type|}}}]]||}} [[{{{func}}}]]( {{#if:{{{p1_name|}}}{{{p1_type|}}}| [[{{{p1_type|}}}]] {{LSL Param|{{{p1_name|}}}}}{{#if:{{{p2_name|}}}{{{p2_type|}}}|, [[{{{p2_type|}}}]] {{LSL Param|{{{p2_name|}}}}}{{#if:{{{p3_name|}}}{{{p3_type|}}}|, [[{{{p3_type|}}}]] {{LSL Param|{{{p3_name|}}}}}{{#if:{{{p4_name|}}}{{{p4_type|}}}|, [[{{{p4_type|}}}]] {{LSL Param|{{{p4_name|}}}}}{{#if:{{{p5_name|}}}{{{p5_type|}}}|, [[{{{p5_type|}}}]] {{LSL Param|{{{p5_name|}}}}}{{#if:{{{p6_name|}}}{{{p6_type|}}}|, [[{{{p6_type|}}}]] {{LSL Param|{{{p6_name|}}}}}{{#if:{{{p7_name|}}}{{{p7_type|}}}|, [[{{{p7_type|}}}]] {{LSL Param|{{{p7_name|}}}}}{{#if:{{{p8_name|}}}{{{p8_type|}}}|, [[{{{p8_type|}}}]] {{LSL Param|{{{p8_name|}}}}}{{#if:{{{p9_name|}}}{{{p9_type|}}}|, [[{{{p9_type|}}}]] {{LSL Param|{{{p9_name|}}}}}{{#if:{{{p10_name|}}}{{{p10_type|}}}|, [[{{{p10_type|}}}]] {{LSL Param|{{{p10_name|}}}}}{{#if:{{{p11_name|}}}{{{p11_type|}}}|, [[{{{p11_type|}}}]] {{LSL Param|{{{p11_name|}}}}}{{#if:{{{p12_name|}}}{{{p12_type|}}}|, [[{{{p12_type|}}}]] {{LSL Param|{{{p12_name|}}}}}}}}}}}}}}}}}}}}}}}}}}}}} )<nowiki>;</nowiki></h2>
<h2>Function: {{#if:{{{return_type|}}}|[[{{{return_type|}}}]]||}} [[{{{func}}}]]( {{#if:{{{p1_name|}}}{{{p1_type|}}}| [[{{{p1_type|}}}]] {{LSL Param|{{{p1_name|}}}}}{{#if:{{{p2_name|}}}{{{p2_type|}}}|, [[{{{p2_type|}}}]] {{LSL Param|{{{p2_name|}}}}}{{#if:{{{p3_name|}}}{{{p3_type|}}}|, [[{{{p3_type|}}}]] {{LSL Param|{{{p3_name|}}}}}{{#if:{{{p4_name|}}}{{{p4_type|}}}|, [[{{{p4_type|}}}]] {{LSL Param|{{{p4_name|}}}}}{{#if:{{{p5_name|}}}{{{p5_type|}}}|, [[{{{p5_type|}}}]] {{LSL Param|{{{p5_name|}}}}}{{#if:{{{p6_name|}}}{{{p6_type|}}}|, [[{{{p6_type|}}}]] {{LSL Param|{{{p6_name|}}}}}{{#if:{{{p7_name|}}}{{{p7_type|}}}|, [[{{{p7_type|}}}]] {{LSL Param|{{{p7_name|}}}}}{{#if:{{{p8_name|}}}{{{p8_type|}}}|, [[{{{p8_type|}}}]] {{LSL Param|{{{p8_name|}}}}}{{#if:{{{p9_name|}}}{{{p9_type|}}}|, [[{{{p9_type|}}}]] {{LSL Param|{{{p9_name|}}}}}{{#if:{{{p10_name|}}}{{{p10_type|}}}|, [[{{{p10_type|}}}]] {{LSL Param|{{{p10_name|}}}}}{{#if:{{{p11_name|}}}{{{p11_type|}}}|, [[{{{p11_type|}}}]] {{LSL Param|{{{p11_name|}}}}}{{#if:{{{p12_name|}}}{{{p12_type|}}}|, [[{{{p12_type|}}}]] {{LSL Param|{{{p12_name|}}}}}}}}}}}}}}}}}}}}}}}}}}}}} )<nowiki>;</nowiki></h2>
<div style="padding: 0.5em">{{#ifeq:{{#var:mode}}|user|<div id="box" style="float:right;">{{#var:floater}}</div>|<div id="box" style="float:right;"><table class="collapsible"><tr style="font-size:75%;"><th colspan="2"></tr><tr>
<div style="padding: 0.5em">{{#ifeq:{{#var:mode}}|user|{{#if:{{#var:floater}}|<div id="box" style="float:right;">{{#var:floater}}</div>}}|<div id="box" style="float:right;">
<td> {{HoverText|{{#var:func_id}}|The function index number.}}
{{{!}} class="collapsible"
<td> [[LSL Function ID|Function ID]]
{{!}}- style="font-size:75%;"
</tr><tr>
{{!}}+
<td> {{HoverText|{{{func_sleep|}}}|The number of seconds this script will sleep after executing this function.}}
{{!}}-
<td> [[LSL Delay|Delay]]
{{!}} {{HoverText|{{#var:func_id}}|The function index number.}}
</tr>{{#if:{{{func_complexity|}}}|<tr>
{{!}} [[LSL Function ID|Function ID]]
<td> {{HoverText|{{{func_complexity|}}}|The complexity of the function based on the parameters.}}
{{!}}-
<td> [[LSL Complexity|Compl.]]
{{!}} {{HoverText|{{{func_sleep|}}}|The number of seconds this script will sleep after executing this function.}}
</tr>}}<tr>
{{!}} [[LSL Delay|Delay]]
<td> {{HoverText|{{{func_energy|}}}|The quantity of energy consumed by this function.}}
{{!}}-
<td> [[Energy|Energy]]
{{#if:{{{func_complexity|}}}|
</tr></table></div>}}
{{!}} {{HoverText|{{{func_complexity|}}}|The complexity of the function based on the parameters.}}
{{!}} [[LSL Complexity|Compl.]]
{{!}}-}}
{{!}} {{HoverText|{{{func_energy|}}}|The quantity of energy consumed by this function.}}
{{!}} [[Energy|Energy]]
{{!}}}</div>}}
{{#if:{{#var:header_desc}}|{{#var:header_desc}}<br/>{{#if:{{{return_type|}}}|<br/>}}}}{{#if:{{{return_type|}}}| Returns {{AAn|{{{return_type|}}}}} {{#if:{{#var:return_text}}| {{#var:return_text}} }}<br/>}}
{{#if:{{#var:header_desc}}|{{#var:header_desc}}<br/>{{#if:{{{return_type|}}}|<br/>}}}}{{#if:{{{return_type|}}}| Returns {{AAn|{{{return_type|}}}}} {{#if:{{#var:return_text}}| {{#var:return_text}} }}<br/>}}
{{#if:{{{p1_name|}}}{{{p1_type|}}}|{{{!}}
{{#if:{{{p1_name|}}}{{{p1_type|}}}|{{{!}}
Line 99: Line 106:
{{#if:{{#var:header_footnote}}|<br/>
{{#if:{{#var:header_footnote}}|<br/>
{{#var:header_footnote}}}}
{{#var:header_footnote}}}}
<div style="clear:right;" ></div>
<div style="clear:right;"></div>
</div></div>
</div></div>{{#if:{{#var:spec}}|<div id="box">
{{#if:{{#var:spec}}|
<div id="box">
<h2>Specification</h2>
<h2>Specification</h2>
<div style="padding: 0.5em">
<div style="padding: 0.5em">
{{#var:spec}}
{{#var:spec}}
</div></div>}}
</div></div>}}{{#if:{{#var:constants_nb}}{{#var:constants}}{{{constants|}}}|
{{#if:{{#var:constants_nb}}{{#var:constants}}{{{constants|}}}|
{{#var:constants_nb}}
{{#var:constants_nb}}
{{{constants|}}}{{#if:{{#var:constants}}|  
{{{constants|}}}{{#if:{{#var:constants}}|  
<div id="box"><h2>Constants</h2>
<div id="box">
<h2>Constants</h2>
{{#var:constants}}
{{#var:constants}}
</div>}}}}
</div>}}}}{{#if:{{#var:caveats}}|<div id="box">
{{#if:{{#var:caveats}}|
<h2>Caveats</h2>
<div id="box"><h2>Caveats</h2>
<div style="padding: 0.5em">
<div style="padding: 0.5em">
{{#var:caveats}}
{{#var:caveats}}
</div></div>}}
</div></div>}}{{#if:{{#if:{{#var:deprecated}}||t}}{{#var:examples}}|<div id="box">
{{#if:{{#if:{{#var:deprecated}}||t}}{{#var:examples}}|
<h2>Examples</h2>
<div id="box"><h2>Examples</h2>
<div style="padding: 0.5em">
<div style="padding: 0.5em">
{{#var:examples}}
{{#var:examples}}
</div></div>}}
</div></div>}}{{#if:{{#var:helpers}}|<div id="box">
{{#if:{{#var:helpers}}|
<h2>Useful Snippets</h2>
<div id="box"><h2>Useful Snippets</h2>
<div style="padding: 0.5em">
<div style="padding: 0.5em">
{{#var:helpers}}
{{#var:helpers}}
</div></div>}}
</div></div>}}{{#if:{{#var:notes}}|<div id="box">
{{#if:{{#var:notes}}|
<h2>Notes</h2>
<div id="box"><h2>Notes</h2>
<div style="padding: 0.5em">
<div style="padding: 0.5em">
{{#var:notes}}
{{#var:notes}}
</div></div>}}
</div></div>}}{{#if:{{#var:also_footer}}{{#var:also_functions}}{{#var:also_events}}{{#var:also_articles}}{{#var:also_tests}}{{#var:also_header}}{{#var:also_library}}|<div id="box">
{{#if:{{#var:also_footer}}{{#var:also_functions}}{{#var:also_events}}{{#var:also_articles}}{{#var:also_tests}}{{#var:also_header}}{{#var:also_library}}|
<h2>See Also</h2>
<div id="box"><h2>See Also</h2>
<div style="padding: 0.5em">
<div style="padding: 0.5em">
{{#if:{{#var:also_header}}|
{{#if:{{#var:also_header}}|
Line 159: Line 159:
{{!}}} }}
{{!}}} }}
{{#if:{{#var:also_footer}}|<br/>{{#var:also_footer}}}}
{{#if:{{#var:also_footer}}|<br/>{{#var:also_footer}}}}
</div></div>}}
</div></div>}}{{#if:{{#var:location}}|<div id="box">
{{#if:{{#var:location}}|
<div id="box">
<h2>Source Location</h2>
<h2>Source Location</h2>
<div style="padding: 0.5em">
<div style="padding: 0.5em">
{{#var:location}}
{{#var:location}}
</div></div>}}
</div></div>}}{{#if:{{{history|}}}{{{bugs|}}}|<div id="box">
{{#if:{{{history|}}}{{#var:bugs}}|
<div id="box">
<h2>History</h2>
<h2>History</h2>
<div style="padding: 0.5em">
<div style="padding: 0.5em">
Line 175: Line 171:
{{!}}} }}
{{!}}} }}
{{{history|}}}
{{{history|}}}
</div></div>}}
</div></div>}}{{#if:{{{comments|}}}|<div id="box">
{{#if:{{{comments|}}}|
<div id="box">
<h2>Comments</h2>
<h2>Comments</h2>
<div style="padding: 0.5em">
<div style="padding: 0.5em">

Latest revision as of 14:38, 17 December 2010