Template:Method: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Mattchewy
testing something real quick
>Mattchewy
No edit summary
Line 14: Line 14:
== Example Usage ==
== Example Usage ==


=== Single Object ===
<pre>
<pre>
{{Method
{{Method
Line 24: Line 25:
</pre>
</pre>


=== Multiple Objects ===
<pre>
<pre>
{{Method
{{Method
|name        = BreakJoints
|name        = BreakJoints
|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
|objects     = [[Model]], [[Part]], [[Weld]]
|object2     = Model
}}
}}
</pre>
</pre>
[[Category:Object Documentation Templates]]
[[Category:Object Documentation Templates]]
</noinclude>
</noinclude>

Revision as of 02:10, 23 January 2011

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

Example Usage

Single Object

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

Multiple Objects

{{Method
|name        = BreakJoints
|description = Breaks any Surface connections with any adjacent parts, including [[Weld]]s and other [[JointInstance]]s.
|objects     = [[Model]], [[Part]], [[Weld]]
}}