Template:Function: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Gamer3D
Made this functions template.
>Mr Doom Bringer
Result isn't much of a good word, I like Returns better.
Line 2: Line 2:
<tr><th style="font-size: 1.5em; padding: 0;" colspan="2">Function</th></tr>
<tr><th style="font-size: 1.5em; padding: 0;" colspan="2">Function</th></tr>
<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>
<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>
<tr style="background: #FFFFFF;"><th style="width: 10%; border-top: solid 1px black; border-right: solid 1px black;">Result</th><td style="border-top: solid 1px black;">{{{result}}}</td></tr>
<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;">{{{result}}}</td></tr>
<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>
<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>
<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>
<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>

Revision as of 00:05, 15 August 2007

Function
Syntax{{{name}}}( {{{arguments}}} )
Returns{{{result}}}
Description: {{{description}}}
In Object:{{{object}}}


Example Usage

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