Template:Method: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>NXTBoy
→‎Example Usage: Added complex example
>NXTBoy
Removed link!
Line 20: Line 20:
|returns              = [[Instance]] ''object''
|returns              = [[Instance]] ''object''
|description          = Returns the first child found with a name of ''Name''.
|description          = Returns the first child found with a name of ''Name''.
|object              = [[Instance]]
|object              = Instance
}}
}}
</pre>
</pre>

Revision as of 09:09, 26 October 2010

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

Example Usage

{{Method
|name                 = FindFirstChild
|arguments            = [[String]] Name
|returns              = [[Instance]] ''object''
|description          = Returns the first child found with a name of ''Name''.
|object               = Instance
}}
{{Method
|name                 = BreakJoints
|arguments            = 
|description          = Breaks any Surface connections with any adjacent parts, including [[Weld]]s and other [[JointInstance]]s.
|object               = BasePart
|object2              = Model
}}