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

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
{{#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|}}}}}}}}}}}}}}}}}}}}}}}}}}}}} )
=={{{name}}}==
<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>

Revision as of 13:17, 16 February 2009

{{{name}}}

Description

{{{desc}}}

Returns

{{{return}}}

Parameters
• string input The input string.
• integer pad_length If the value of pad_length is negative or less than the length of the input string, no padding takes place.
• string pad_string The string used to pad the input string.
• integer pad_type 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.
Notes

{{{notes}}}

Examples

{{{examples}}}