Template:Method: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>NXTBoy
Same change
>Blocco
test
Line 1: Line 1:
<div style="float:left; max-width:600px; width: 50%; min-height:120px; overflow:auto">
<div style="float:left; max-width:600px; width: 50%; {{if|{{{widthoverride|}}}|width:100%;}} min-height:120px; overflow:auto">
{| cellspacing="0" cellpadding="4" style="margin: 4px; padding: 4px; display: block; {{border-radius|6px}}; background: #ffdddd; font-size: 90%; text-align: left; border: 4px solid #B57EDC;"
{| cellspacing="0" cellpadding="4" style="margin: 4px; padding: 4px; display: block; {{border-radius|6px}}; background: #ffdddd; font-size: 90%; text-align: left; border: 4px solid #B57EDC;"
|style="padding: 1;font-size:120%; font-weight:bold;" colspan="2"|[[Image:{{if|{{{protected|}}}|Protected_}}Method Icon.png]] [[{{{name}}} (Method)|{{{name}}}]]( {{{arguments<includeonly>|</includeonly>}}} )
|style="padding: 1;font-size:120%; font-weight:bold;" colspan="2"|[[Image:{{if|{{{protected|}}}|Protected_}}Method Icon.png]] [[{{{name}}} (Method)|{{{name}}}]]( {{{arguments<includeonly>|</includeonly>}}} )

Revision as of 21:43, 13 August 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]]
}}