Template:Method: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Blocco
No edit summary
>NXTBoy
No edit summary
Line 2: Line 2:
|</noinclude><div style="float:left; padding:2px; width:600px; height:150px; overflow:auto; margin:2px;">
|</noinclude><div style="float:left; padding:2px; width:600px; height:150px; overflow:auto; margin:2px;">
{| cellspacing="0" cellpadding="4" style="-webkit-border-radius: 6px; -moz-border-radius: 6px; background: #ffdddd; margin:0; width: 100%; font-size: 90%; text-align: left; align: center; padding: 4px; border: solid 4px #B57EDC;"
{| cellspacing="0" cellpadding="4" style="-webkit-border-radius: 6px; -moz-border-radius: 6px; background: #ffdddd; margin:0; width: 100%; font-size: 90%; text-align: left; align: center; padding: 4px; border: solid 4px #B57EDC;"
|style="padding: 1;font-size:120%; font-weight:bold;" colspan="2"|[[Image: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>}}} )
|-style="background: #FFFFFF;"
|-style="background: #FFFFFF;"
|style="width: 10%; border-top: solid 1px black; border-right: solid 1px black; font-weight:bold;"|Returns
|style="width: 10%; border-top: solid 1px black; border-right: solid 1px black; font-weight:bold;"|Returns
Line 19: Line 19:


<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              = Global
|object              = [[Instance]]
|}}
}}
</pre>
</pre>
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 08:11, 26 October 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]]
}}