User:ArceusInator/Method template: Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>ArceusInator No edit summary |
>JulienDethurens Commented the category. |
||
(6 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<div style="float:left; padding:2px; width:600px; height:150px; overflow:auto; margin:2px;"> | <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"| | |style="padding: 1;font-size:120%; font-weight:bold;" colspan="2"|[[Image:{{if|{{{protected|}}}|Protected}}{{if|{{{admin|}}}|Admin}}{{if|{{{local|}}}|Local}}Method Icon.png]][[{{{name}}} (Method)|{{{name}}}]]({{{arguments|{{{args|}}}}}}) | ||
[[Image: | |||
{{if|{{{protected}}}|Protected}} | |||
{{if|{{{ | |||
{{if|{{{local}}}|Local}} | |||
Method Icon.png]] | |||
|-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 41: | Line 33: | ||
}} | }} | ||
</pre> | </pre> | ||
[[Category:Object Documentation Templates]] | <!--[[Category:Object Documentation Templates]]--> | ||
Line 53: | Line 45: | ||
{{User:ArceusInator/Method_template | {{User:ArceusInator/Method_template | ||
|protected=Yes | |protected=Yes | ||
|name=Method | |name=Protected Method | ||
|arguments=''arguments'' | |arguments=''arguments'' | ||
|returns=''returns'' | |returns=''returns'' | ||
Line 61: | Line 53: | ||
{{User:ArceusInator/Method_template | {{User:ArceusInator/Method_template | ||
|local=Yes | |local=Yes | ||
|name=Method | |name=Local Method | ||
|arguments=''arguments'' | |arguments=''arguments'' | ||
|returns=''returns'' | |returns=''returns'' | ||
Line 69: | Line 61: | ||
{{User:ArceusInator/Method_template | {{User:ArceusInator/Method_template | ||
|admin=Yes | |admin=Yes | ||
|name=Method | |name=Admin Method | ||
|arguments=''arguments'' | |arguments=''arguments'' | ||
|returns=''returns'' | |returns=''returns'' | ||
Line 78: | Line 70: | ||
|protected=Yes | |protected=Yes | ||
|admin=Yes | |admin=Yes | ||
|name=Method | |name=Protected Admin Method | ||
|arguments=''arguments'' | |arguments=''arguments'' | ||
|returns=''returns'' | |returns=''returns'' | ||
Line 87: | Line 79: | ||
|protected=Yes | |protected=Yes | ||
|local=Yes | |local=Yes | ||
|name=Method | |name=Protected Local Method | ||
|arguments=''arguments'' | |arguments=''arguments'' | ||
|returns=''returns'' | |returns=''returns'' | ||
Line 96: | Line 88: | ||
|local=Yes | |local=Yes | ||
|admin=Yes | |admin=Yes | ||
|name=Method | |name=Local Admin Method | ||
|arguments=''arguments'' | |arguments=''arguments'' | ||
|returns=''returns'' | |returns=''returns'' | ||
Line 106: | Line 98: | ||
|admin=Yes | |admin=Yes | ||
|protected=Yes | |protected=Yes | ||
|name=Method | |name=Protected Local Admin Method | ||
|arguments=''arguments'' | |arguments=''arguments'' | ||
|returns=''returns'' | |returns=''returns'' |
Latest revision as of 05:23, 9 April 2012
[[{{{name}}} (Method)|{{{name}}}]]() | |
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]] }}
Protected Method(arguments) | |
Returns | returns |
Description: | description |
In Object: | asdfghjkl |
Local Method(arguments) | |
Returns | returns |
Description: | description |
In Object: | asdfghjkl |
Admin Method(arguments) | |
Returns | returns |
Description: | description |
In Object: | asdfghjkl |
File:ProtectedAdminMethod Icon.pngProtected Admin Method(arguments) | |
Returns | returns |
Description: | description |
In Object: | asdfghjkl |
Protected Local Method(arguments) | |
Returns | returns |
Description: | description |
In Object: | asdfghjkl |
Local Admin Method(arguments) | |
Returns | returns |
Description: | description |
In Object: | asdfghjkl |
Protected Local Admin Method(arguments) | |
Returns | returns |
Description: | description |
In Object: | asdfghjkl |