Template:Function: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Mr Doom Bringer
This needed to change
>Mr Doom Bringer
No edit summary
Line 1: Line 1:
<table style="border: dashed 2px red; width: 100%; font-size: 90%; text-align: left; align: center; padding: 4px;" cellspacing="0" cellpadding="4">
{|style="-webkit-border-radius: 6px; -moz-border-radius: 6px; background: #FFEFEF; margin:0; border: dashed 2px red; width: 100%; font-size: 90%; text-align: left; align: center; padding: 4px;" cellspacing="0" cellpadding="4"
<tr><th style="font-size: 1.5em; padding: 0;" colspan="2">Function</th></tr>
|style="padding: 0;font-size:150%; font-weight:bold;" colspan="2"|Function
<tr style="background: #FFEFEF;"><th style="width: 10%; border-top: solid 1px black; border-right: solid 1px black;">Syntax</th><td style="border-top: solid 1px black;">{{{name}}}( {{{arguments}}} )</td></tr>
|-style="background: #FFEFEF;"
<tr style="background: #FFFFFF;"><th style="width: 10%; border-top: solid 1px black; border-right: solid 1px black;">Returns</th><td style="border-top: solid 1px black;">{{{returns}}}</td></tr>
|style="width: 10%; border-top: solid 1px black; border-right: solid 1px black; font-weight:bold;"|Syntax
<tr style="background: #FFEFEF;"><th style="width: 10%; border-top: solid 1px black; border-right: solid 1px black;">Description: </th><td style="border-top: solid 1px black;">{{{description}}}</td></tr>
|style="border-top: solid 1px black;"|{{{name}}}( {{{arguments}}} )
<tr style="background: #FFFFFF;"><th style="width: 10%; border-top: solid 1px black; border-right: solid 1px black;">In Object:</th><td style="border-top: solid 1px black;">{{{object}}}</td></tr>
|-style="background: #FFFFFF;"
</table><noinclude>
|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="background: #FFEFEF;"
|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="background: #FFFFFF;"
|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}}}
|}
<noinclude>





Revision as of 00:23, 24 February 2010

Function
Syntax {{{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
|}}