Template:Protected: Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>JulienDethurens No edit summary |
>JulienDethurens No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude>{{EmphasisBox|<span style{{=}}"float:left;">Protected:</span>This item is protected. Attempting to use it in a {{type|instance=Script}} or {{type|instance=LocalScript}} will cause an error. {{{1|}}}|orange|dark=true|text-align:center}}<includeonly>{{if|{{{nocat|}}}||[[Category:Protected members]]}}</includeonly></onlyinclude> | |||
{{Documentation}} | |||
Latest revision as of 19:58, 7 April 2012
Protected:This item is protected. Attempting to use it in a Script or LocalScript will cause an error.
This template is used to mark a property, a method or an event as protected. It should not be used on pages other than pages of events, methods and properties and should always be contained in a noinclude tag (or otherwise not be contained in the onlyinclude tag, if there is one). If it must be used on a page other than the page of a property, method or event, then its nocat argument must be specified.
Arguments
- nocat
- Must be specified if the template is used on a page other than a property, event or method page.