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

From Second Life Wiki
Jump to navigation Jump to search
m
m
 
(9 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:{{{p1_name|}}}{{{p1_type|}}}|, <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|}}}{{{p2_type|}}}|, <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:{{{p3_name|}}}{{{p3_type|}}}|, <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> {{{3|}}}</td>}}</tr>}}
{{#if:{{{p4_name|}}}{{{p4_type|}}}|, <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:{{{p5_name|}}}{{{p5_type|}}}|, <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:{{{p6_name|}}}{{{p6_type|}}}|, <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:{{{p7_name|}}}{{{p7_type|}}}|, <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:{{{p8_name|}}}{{{p8_type|}}}|, <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:{{{p9_name|}}}{{{p9_type|}}}|, <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:{{{p10_name|}}}{{{p10_type|}}}|, <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:{{{p11_name|}}}{{{p11_type|}}}|, <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:{{{p12_name|}}}{{{p12_type|}}}|, <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>}}

Latest revision as of 14:26, 16 February 2009

Code
{{{code}}}