Template:Method: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>ArceusInator
I hope I didn't just break that
>ArceusInator
No edit summary
Line 5: Line 5:
</div>
</div>
<div class="Pcontainer" style="{{border-top: 1px solid {{color|red|dark}}}}; padding: 4px; background-color:{{color|blue|light}}">'''Returns:'''        {{{returns}}}</div>
<div class="Pcontainer" style="{{border-top: 1px solid {{color|red|dark}}}}; padding: 4px; background-color:{{color|blue|light}}">'''Returns:'''        {{{returns}}}</div>
<div class="Dcontainer" style="{{border-top: 1px solid {{color|red|dark}}}}; padding: 4px; background-color:{{color|blue|light}}">'''Description:'''  {{{description}}}</div></div></includeonly>
<div class="Dcontainer" style="{{border-top: 1px solid {{color|red|dark}}}}; padding: 4px; background-color:{{color|blue|light}}">'''Description:'''  {{{description}}}</div></div></includeonly><noinclude>
== Example Usage ==
== Example Usage ==



Revision as of 21:18, 6 February 2011

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]]
}}