Difference between revisions of "User:Cory Fimicoloud/LSLFunction"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
{{ | =={{{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;">• string</td> | |||
<td> input</td> | |||
<td style="color:gray;"> –</td> | |||
<td> The input string.</td> | |||
<td></td> | |||
</tr> | |||
<tr> | |||
<td style="color:gray;">• 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;">• 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;">• 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}}}