Template:Method: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>NXTBoy
Removed link!
>NXTBoy
Spacing
Line 16: Line 16:
<pre>
<pre>
{{Method
{{Method
|name                 = FindFirstChild
|name       = FindFirstChild
|arguments           = [[String]] Name
|arguments   = [[String]] Name
|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>
Line 26: Line 26:
<pre>
<pre>
{{Method
{{Method
|name                 = BreakJoints
|name       = BreakJoints
|arguments            =
|description = Breaks any Surface connections with any adjacent parts, including [[Weld]]s and other [[JointInstance]]s.
|description         = Breaks any Surface connections with any adjacent parts, including [[Weld]]s and other [[JointInstance]]s.
|object     = BasePart
|object               = BasePart
|object2     = Model
|object2             = Model
}}
}}
</pre>
</pre>
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 09:30, 24 December 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
|description = Breaks any Surface connections with any adjacent parts, including [[Weld]]s and other [[JointInstance]]s.
|object      = BasePart
|object2     = Model
}}