Difference between revisions of "User:Cory Fimicoloud/LSLFunction"

From Second Life Wiki
Jump to navigation Jump to search
m
m
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
=={{{name}}}==
{{#if:{{{desc|}}}|<div style="border:1px solid #AAAAAA; margin-bottom:10px;"><div style="background-color:#F4F8FB; border-bottom:1px dotted #AAAAAA; font-size:120%; font-weight:bold; margin:0; padding:0.2em 0.5em; text-align:left;">Description</div><div style="padding: 0.5em;">{{{desc}}}</div></div>}}{{#if:{{{return|}}}|<div style="border:1px solid #AAAAAA; margin-bottom:10px;"><div style="background-color:#F4F8FB; border-bottom:1px dotted #AAAAAA; font-size:120%; font-weight:bold; margin:0; padding:0.2em 0.5em; text-align:left;">Returns</div><div style="padding: 0.5em;">{{{return}}}</div></div>}}{{#if:{{{p1_name|}}}{{{p2_name|}}}{{{p3_name|}}}{{{p4_name|}}}{{{p5_name|}}}{{{p6_name|}}}{{{p7_name|}}}{{{p8_name|}}}{{{p9_name|}}}{{{p10_name|}}}{{{p11_name|}}}{{{p12_name|}}}|<div style="border:1px solid #AAAAAA; margin-bottom:10px;"><div style="background-color:#F4F8FB; border-bottom:1px dotted #AAAAAA; font-size:120%; font-weight:bold; margin:0; padding:0.2em 0.5em; text-align:left;">Parameters</div><div style="padding: 0.5em;"><table>{{#if:{{{p1_name|}}}|<tr style="vertical-align:top;"><td style="color:gray;">•&nbsp;{{{p1_type|}}}</td><td> {{{p1_name|}}}</td>{{#if:{{{p1_desc|}}}|<td style="color:gray;"> - </td><td> {{{p1_desc|}}}|</td>}}</tr>}}{{#if:{{{p2_name|}}}|<tr style="vertical-align:top;"><td style="color:gray;">•&nbsp;{{{p2_type|}}}</td><td> {{{p2_name|}}}</td>{{#if:{{{p2_desc|}}}|<td style="color:gray;"> - </td><td> {{{p2_desc|}}}|</td>}}</tr>}}{{#if:{{{p3_name|}}}|<tr style="vertical-align:top;"><td style="color:gray;">•&nbsp;{{{p3_type|}}}</td><td> {{{p3_name|}}}</td>{{#if:{{{p3_desc|}}}|<td style="color:gray;"> - </td><td> {{{p3_desc|}}}|</td>}}</tr>}}{{#if:{{{p4_name|}}}|<tr style="vertical-align:top;"><td style="color:gray;">•&nbsp;{{{p4_type|}}}</td><td> {{{p4_name|}}}</td>{{#if:{{{p4_desc|}}}|<td style="color:gray;"> - </td><td> {{{p4_desc|}}}|</td>}}</tr>}}{{#if:{{{p5_name|}}}|<tr style="vertical-align:top;"><td style="color:gray;">•&nbsp;{{{p5_type|}}}</td><td> {{{p5_name|}}}</td>{{#if:{{{p5_desc|}}}|<td style="color:gray;"> - </td><td> {{{p5_desc|}}}|</td>}}</tr>}}{{#if:{{{p6_name|}}}|<tr style="vertical-align:top;"><td style="color:gray;">•&nbsp;{{{p6_type|}}}</td><td> {{{p6_name|}}}</td>{{#if:{{{p6_desc|}}}|<td style="color:gray;"> - </td><td> {{{p6_desc|}}}|</td>}}</tr>}}{{#if:{{{p7_name|}}}|<tr style="vertical-align:top;"><td style="color:gray;">•&nbsp;{{{p7_type|}}}</td><td> {{{p7_name|}}}</td>{{#if:{{{p7_desc|}}}|<td style="color:gray;"> - </td><td> {{{p7_desc|}}}|</td>}}</tr>}}{{#if:{{{p8_name|}}}|<tr style="vertical-align:top;"><td style="color:gray;">•&nbsp;{{{p8_type|}}}</td><td> {{{p8_name|}}}</td>{{#if:{{{p8_desc|}}}|<td style="color:gray;"> - </td><td> {{{p8_desc|}}}|</td>}}</tr>}}{{#if:{{{p9_name|}}}|<tr style="vertical-align:top;"><td style="color:gray;">•&nbsp;{{{p9_type|}}}</td><td> {{{p9_name|}}}</td>{{#if:{{{p9_desc|}}}|<td style="color:gray;"> - </td><td> {{{p9_desc|}}}|</td>}}</tr>}}{{#if:{{{p10_name|}}}|<tr style="vertical-align:top;"><td style="color:gray;">•&nbsp;{{{p10_type|}}}</td><td> {{{p10_name|}}}</td>{{#if:{{{p10_desc|}}}|<td style="color:gray;"> - </td><td> {{{p10_desc|}}}|</td>}}</tr>}}{{#if:{{{p11_name|}}}|<tr style="vertical-align:top;"><td style="color:gray;">•&nbsp;{{{p11_type|}}}</td><td> {{{p11_name|}}}</td>{{#if:{{{p11_desc|}}}|<td style="color:gray;"> - </td><td> {{{p11_desc|}}}|</td>}}</tr>}}{{#if:{{{p12_name|}}}|<tr style="vertical-align:top;"><td style="color:gray;">•&nbsp;{{{p12_type|}}}</td><td> {{{p12_name|}}}</td>{{#if:{{{p12_desc|}}}|<td style="color:gray;"> - </td><td> {{{p12_desc|}}}|</td>}}</tr>}}</table></div></div>}}{{#if:{{{notes|}}}|<div style="border:1px solid #AAAAAA; margin-bottom:10px;"><div style="background-color:#F4F8FB; border-bottom:1px dotted #AAAAAA; font-size:120%; font-weight:bold; margin:0; padding:0.2em 0.5em; text-align:left;">Notes</div><div style="padding: 0.5em;">{{{notes}}}</div></div>}}{{#if:{{{examples|}}}|<div style="border:1px solid #AAAAAA; margin-bottom:10px;"><div style="background-color:#F4F8FB; border-bottom:1px dotted #AAAAAA; font-size:120%; font-weight:bold; margin:0; padding:0.2em 0.5em; text-align:left;">Examples</div><div style="padding: 0.5em;">{{{examples}}}</div></div>}}<div style="border:1px solid #AAAAAA; margin-bottom:10px;"><div style="background-color:#F4F8FB; border-bottom:1px dotted #AAAAAA; font-size:120%; font-weight:bold; margin:0; padding:0.2em 0.5em; text-align:left;">Code</div><div style="padding: 0.5em;">{{{code}}}</div></div>
<div id="box">
<div style="padding: 0.5em;">
<div style="border:1px solid #AAAAAA; margin-bottom:10px;">
<div style="background-color:#F4F8FB; border-bottom:1px dotted #AAAAAA; font-size:120%; font-weight:bold; margin:0; padding:0.2em 0.5em; text-align:left;">Description</div>
<div style="padding: 0.5em;">
{{{desc}}}
</div>
</div>
<div style="border:1px solid #AAAAAA; margin-bottom:10px;">
<div style="background-color:#F4F8FB; border-bottom:1px dotted #AAAAAA; font-size:120%; font-weight:bold; margin:0; padding:0.2em 0.5em; text-align:left;">Returns</div>
<div style="padding: 0.5em;">
{{{return}}}
</div>
</div>
<div style="border:1px solid #AAAAAA; margin-bottom:10px;">
<div style="background-color:#F4F8FB; border-bottom:1px dotted #AAAAAA; font-size:120%; font-weight:bold; margin:0; padding:0.2em 0.5em; text-align:left;">Parameters</div>
<div style="padding: 0.5em;">
<table>
<tr style="vertical-align:top;">
<td style="color:gray;">•&nbsp;string</td>
<td> input</td>
<td style="color:gray;"> </td>
<td> The input string.</td>
<td></td>
</tr>
<tr>
<td style="color:gray;">•&nbsp;integer</td>
<td> pad_length</td>
<td style="color:gray;"> </td>
<td> If the value of pad_length is negative or less than the length of the input string, no padding takes place.</td>
<td></td>
</tr>
<tr>
<td style="color:gray;">•&nbsp;string</td>
<td> pad_string</td>
<td style="color:gray;"> </td>
<td> The string used to pad the input string.</td>
<td></td>
</tr>
<tr>
<td style="color:gray;">•&nbsp;integer</td>
<td> pad_type</td>
<td style="color:gray;"> </td>
<td> Optional argument pad_type  can be STR_PAD_RIGHT, STR_PAD_LEFT, or STR_PAD_BOTH. If pad_type  is not specified it is assumed to be STR_PAD_RIGHT.
<td></td>
</tr>
</table>
</div>
</div>
<div style="border:1px solid #AAAAAA; margin-bottom:10px;">
<div style="background-color:#F4F8FB; border-bottom:1px dotted #AAAAAA; font-size:120%; font-weight:bold; margin:0; padding:0.2em 0.5em; text-align:left;">Notes</div>
<div style="padding: 0.5em;">
{{{notes}}}
</div>
</div>
<div style="border:1px solid #AAAAAA; margin-bottom:10px;">
<div style="background-color:#F4F8FB; border-bottom:1px dotted #AAAAAA; font-size:120%; font-weight:bold; margin:0; padding:0.2em 0.5em; text-align:left;">Examples</div>
<div style="padding: 0.5em;">
{{{examples}}}
</div>
</div>
</div>
</div>
 
{{#if:{{{return_type|}}}|[[{{{return_type|}}}|{{{return_type|}}}]]||}} ( {{#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|}}}}}}}}}}}}}}}}}}}}}}}}}}}}} )

Latest revision as of 14:26, 16 February 2009

Code
{{{code}}}