This template is protected from editing.

Difference between revisions of "Template:Protected"

From Team Fortress Wiki
Jump to: navigation, search
m
m
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{#if:{{{small|}}}|<div align="right" style="right:25px; top: 14px; display:none; font-size: 90%;" class="topicon">[[File:Ambox padlock gray.png|20px|link=Team Fortress Wiki:Policies#Protection|alt=]]&nbsp;''This page is protected from editing.''</div>|
+
<indicator name="protected">[[File:Padlock silver.png|14px|link=Team Fortress Wiki:Policies#Protection|alt=|text-top]]&nbsp;This {{#switch: {{NAMESPACE}}
{{Ambox
+
  | File = file
| image      = Ambox padlock gray.png
+
  | User = user page
| imagewidth = 24px
+
  | Category = category
| type      = protection
+
  | Template = template
 
+
  | Help = help article
| contents  = {{ambox/message
+
   | #default = page
   | 3 = '''This page is [[Team Fortress Wiki:Policies#Protection|protected]] from editing{{#ifeq:{{{1|}}}|none|.|}}<!--
+
  }} is [[Team Fortress Wiki:Policies#Protection|protected]] from editing.</indicator><includeonly>[[Category:Protected pages|{{BASEPAGENAME}}]]</includeonly><noinclude>
-->{{#switch: {{{1|}}}
 
    | unreleased = &nbsp;until the item is officially released.''' This is to reduce incorrect speculation from appearing on this page.
 
    | none      = <!-- null -->
 
    | template  = &nbsp;permanently as it is transcluded on thousands of pages.
 
    | vandalism
 
    | #default  = &nbsp;to prevent vandalism.
 
    }}'''&nbsp;{{#ifeq:{{{hidetalk|}}}|1||Please discuss changes on the [[{{{talkpage|{{TALKPAGENAME}}}}}|talk page]].}}
 
  }}
 
}}
 
}}<includeonly>[[Category:Protected pages|{{BASEPAGENAME}}]]</includeonly><noinclude><br />{{Doc begin}}
 
== Parameters ==
 
* {{Protected
 
:* | ''vandalism'' = "to prevent vandalism." [''default'']
 
:* | ''unreleased'' = "until the item is officially released."
 
:* | ''template'' = "permanently as it is transcluded on thousands of pages."
 
:* | ''none'' = will display nothing as the reason.
 
<hr />
 
:* | ''small'' = 1{{n}}changes width, text size and image size to show a smaller version of the message.
 
:* | ''style'' = any additional valid CSS style.
 
<hr />
 
:* | ''talkpage'' = ''Talk:Gameplay''{{n}}name of discussion page without brackets to override the default talk page link (if you want to keep discussion centralized on one page, for example)
 
:* | ''hidetalk'' = 1{{n}}hides the "please discuss on talk page" message.
 
* }}
 
 
 
 
[[Category:Maintenance templates|Protected]]
 
[[Category:Maintenance templates|Protected]]
 
</noinclude>
 
</noinclude>

Latest revision as of 22:38, 11 April 2022