Difference between revisions of "Template:Protected"

From Team Fortress Wiki
Jump to: navigation, search
m
(rm small functionality that uses |width= on ambox, replaced with small note in corner)
Line 1: Line 1:
 +
{{#switch:{{{small|}}}
 +
| 1 = <div align="right" style="right:25px; top: 14px; display:none; font-size: 90%;" class="topicon">[[File:Padlock silver.png|16px]]&nbsp;''This page is protected from editing.''</div>
 +
| #default =
 
{{Ambox
 
{{Ambox
 
| image = Padlock silver.png
 
| image = Padlock silver.png
| imagewidth = {{#ifeq:{{{small|}}}|1|24px|48px}}
+
| imagewidth = 48px
| width = {{{width|80%}}}
 
  
| style = border: 1px solid #393939; {{#ifeq:{{{small|}}}|1|font-size: 90%;|}}{{{style|}}}
+
| style = border: 1px solid #393939; {{{style|}}}
 
| linestyle = style="background-color: #393939;"
 
| linestyle = style="background-color: #393939;"
  
Line 17: Line 19:
 
   
 
   
 
  }}''' {{#ifeq:{{{hidetalk|}}}|1||Please discuss changes on the [[{{{talkpage|{{TALKPAGENAME}}}}}|talk page]].}}
 
  }}''' {{#ifeq:{{{hidetalk|}}}|1||Please discuss changes on the [[{{{talkpage|{{TALKPAGENAME}}}}}|talk page]].}}
 +
}}
 
}}<includeonly>[[Category:Protected pages|{{BASEPAGENAME}}]]</includeonly><noinclude><br />
 
}}<includeonly>[[Category:Protected pages|{{BASEPAGENAME}}]]</includeonly><noinclude><br />
 
{{Template doc}}
 
{{Template doc}}
 
[[Category:Maintenance templates]]
 
[[Category:Maintenance templates]]
 
</noinclude>
 
</noinclude>

Revision as of 09:11, 27 July 2010


Template documentation [create]