Template:AdminOnlyMethod: Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>ArceusInator No edit summary |
>Blocco No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div style="float:left; | <div style="float:left; max-width:600px; width: 50%; min-height:120px; overflow:auto"> | ||
{| 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:{{if|{{{protected|}}}|Protected}}AdminMethod.png]] [[{{{name}}} (Method)|{{{name}}}]]( {{{arguments<includeonly>|</includeonly>}}} ) | |style="padding: 1;font-size:120%; font-weight:bold;" colspan="2"|[[Image:{{if|{{{protected|}}}|Protected}}AdminMethod.png]] [[{{{name}}} (Method)|{{{name}}}]]( {{{arguments<includeonly>|</includeonly>}}} ) |
Latest revision as of 23:17, 26 August 2011
[[{{{name}}} (Method)|{{{name}}}]]( {{{arguments}}} ) | |
Returns | {{{returns}}} |
Description: | {{{description}}} |
In Object: | [[{{{object}}}]] |
Example Usage
{{AdminOnlyMethod |name = SaveBoolean |arguments = [[String]] ''key'', [[Boolean]] ''value'' |returns = |description = Saves a boolean value. |object = Player }}
{{AdminOnlyMethod |name = LoadBoolean |arguments = [[String]] ''key'' |returns = [[Boolean]] ''value'' |description = Loads a boolean value. |object = Player }}
AdminOnlyMethod( Boolean playingRoblox ) | |
Returns | String playerName |
Description: | Can only be accessed by an admin |
In Object: | nil |
File:ProtectedAdminMethod.png ProtectedAdminOnlyMethod( Boolean protected ) | |
Returns | nil |
Description: | A protected admin-only method |
In Object: | nil |