Template:Method: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Mattchewy
No edit summary
>ArceusInator
Got tired of having to write ''Category:Methods'' on each method page
Line 11: Line 11:
|style="width: 10%; border-top: solid 1px black; border-right: solid 1px black; font-weight:bold;"|In Object{{if|{{{object2|}}}|s}}:
|style="width: 10%; border-top: solid 1px black; border-right: solid 1px black; font-weight:bold;"|In Object{{if|{{{object2|}}}|s}}:
|style="border-top: solid 1px black;"|{{if|{{{object|}}}|[[{{{object|}}}]]}}{{if|{{{objects|}}}|{{{objects|}}}}}
|style="border-top: solid 1px black;"|{{if|{{{object|}}}|[[{{{object|}}}]]}}{{if|{{{objects|}}}|{{{objects|}}}}}
|}</div><noinclude>{{clear floats}}
|}</div>[[Category:Methods]]<noinclude>{{clear floats}}
== Example Usage ==
== Example Usage ==



Revision as of 16:52, 2 March 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]]
}}