Difference between revisions of "Template:Protect/doc"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Add doc)
 
m
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
Use this template only if there's good reason for the page to be protected. The page will be added to [[:Category:Protect]] if the reason is specified.
 
Use this template only if there's good reason for the page to be protected. The page will be added to [[:Category:Protect]] if the reason is specified.
  
  <nowiki>{{Protect|Reason --~~~~}}</nowiki>
+
Recommended usage: <code><nowiki>{{Protect|Reason --~~~~}}</nowiki></code>
 +
 
 +
== Parameters ==
 +
{{Parameter table|name=number|parameters=
 +
{{Parameter row|1|The reason for protecting the page|3=<span style="font-weight:bold;color:red;">Please specify a reason!</span>}}
 +
}}
  
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Templates|Protect]]
+
[[Category:Templates]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 19:16, 2 February 2020

Usage

Use this template only if there's good reason for the page to be protected. The page will be added to Category:Protect if the reason is specified.

Recommended usage: {{Protect|Reason --~~~~}}

Parameters

# Optional Description Default
1 Yes The reason for protecting the page Please specify a reason!