Template:Function: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Anaminus
changed red/white to compliment border color
>Gordonrox24
Bewm
Line 1: Line 1:
<div style="float:left; padding:2px; width:600px; height:150px; overflow:auto; margin:2px;">
<div style="float:left; padding:2px; width:600px; height:150px; overflow:auto; margin:2px;">
{| cellspacing="0" cellpadding="4" style="-webkit-border-radius: 6px; -moz-border-radius: 6px; background: #f2beff; margin:0; width: 100%; font-size: 90%; text-align: left; align: center; padding: 4px; border-top: solid 2px #cc00ff; border-left: solid 2px #cc00ff; border-bottom: solid 2px #9900c0; border-right: solid 2px #9900c0;"
{| cellspacing="0" cellpadding="4" style="-webkit-border-radius: 6px; -moz-border-radius: 6px; background: #B57EDC; margin:0; width: 100%; font-size: 90%; text-align: left; align: center; padding: 4px; border-top: solid 2px #B57EDC; border-left: solid 2px #B57EDC; border-bottom: solid 2px #B57EDC; border-right: solid 2px #B57EDC;"
|style="padding: 1;font-size:120%; font-weight:bold;" colspan="2"|[[Image:Function Icon.png]] [[{{{name}}} (Function)|{{{name}}}]]( {{{arguments}}} )
|style="padding: 1;font-size:120%; font-weight:bold;" colspan="2"|[[Image:Function Icon.png]] [[{{{name}}} (Function)|{{{name}}}]]( {{{arguments}}} )
|-style="background: #f9e1ff;"
|-style="background: #FFFFFF;"
|style="width: 10%; border-top: solid 1px black; border-right: solid 1px black; font-weight:bold;"|Returns
|style="width: 10%; border-top: solid 1px black; border-right: solid 1px black; font-weight:bold;"|Returns
|style="border-top: solid 1px black;"|{{{returns}}}
|style="border-top: solid 1px black;"|{{{returns}}}
|-style="background: #f2beff;"
|-style="background: #ffdddd;"
|style="width: 10%; border-top: solid 1px black; border-right: solid 1px black; font-weight:bold;"|Description:  
|style="width: 10%; border-top: solid 1px black; border-right: solid 1px black; font-weight:bold;"|Description:  
|style="border-top: solid 1px black;"|{{{description}}}
|style="border-top: solid 1px black;"|{{{description}}}
|-style="background: #f9e1ff;"
|-style="background: #FFFFFF;"
|style="width: 10%; border-top: solid 1px black; border-right: solid 1px black; font-weight:bold;"|In Object:
|style="width: 10%; border-top: solid 1px black; border-right: solid 1px black; font-weight:bold;"|In Object:
|style="border-top: solid 1px black;"|{{{object}}}
|style="border-top: solid 1px black;"|{{{object}}}
|}
|}
</div>
</div>
<noinclude>
<noinclude>



Revision as of 22:47, 24 April 2010

[[{{{name}}} (Function)|{{{name}}}]]( {{{arguments}}} )
Returns {{{returns}}}
Description: {{{description}}}
In Object: {{{object}}}



Example Usage

{{Function|
name                  = FindFirstChild
|arguments            = [[String]] Name
|returns              = [[Instance]] ''object''
|description          = Returns the first child found with a name of ''Name''.
|object               = Global
|}}