Template:Protected: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Legend26
Since most can be accessed via the command bar or a plugin...
>JulienDethurens
No edit summary
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{EmphasisBox|<span style{{=}}"float:left;">Protected:</span> This item is protected. Attempting to use it in a [[Script]] or [[LocalScript]] will cause an error. {{{1|}}}|orange|dark=true|text-align:center}}<noinclude>
<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}}
{{Example|<pre>
{{Protected}}
</pre>
}}
[[Category:Templates]]
</noinclude>

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.
[purge] Template documentation
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.