Difference between revisions of "Template:Protected"
Jump to navigation
Jump to search
(Created) |
(New Icon!) |
||
Line 3: | Line 3: | ||
| sysop= | | sysop= | ||
{{#ifeq:{{{icon}}}|no||<div class="topicon" id="protected-icon" style="{{#ifeq:{{dir|{{int:Lang}}}}|rtl|left|right}}:10px;">[[File:Padlock.svg|20px|link={{LangSwitch|en=COM:P|de=Commons:Schutzrichtlinie|fr=Commons:Protection de page|ja=Commons:保護ページ}}|pt=Commons:Proteção de páginas}}|{{{{tSwitch|protected/text}}|img-text1}}]]</div>}} | {{#ifeq:{{{icon}}}|no||<div class="topicon" id="protected-icon" style="{{#ifeq:{{dir|{{int:Lang}}}}|rtl|left|right}}:10px;">[[File:Padlock.svg|20px|link={{LangSwitch|en=COM:P|de=Commons:Schutzrichtlinie|fr=Commons:Protection de page|ja=Commons:保護ページ}}|pt=Commons:Proteção de páginas}}|{{{{tSwitch|protected/text}}|img-text1}}]]</div>}} | ||
<table class="protected" style="direction: {{dir|{{int:Lang}}}}; background:# | <table class="protected" style="direction: {{dir|{{int:Lang}}}}; background:#f0f0f0; border:2px solid #ffff00; padding:.2em; margin:.5em auto;"> | ||
<tr> | <tr> | ||
<td style="padding-right:4px; padding-left:4px;">[[File: | <td style="padding-right:4px; padding-left:4px;">[[File:Protected Icon 2014.png|40px|link=COM:P|Protected]]</td> | ||
<td>'''{{{{tSwitch|protected/text}}|text1}} {{#if:{{{1|}}}|{{{{tSwitch|protected/text}}|reason|reason={{{1}}}}}|{{{{tSwitch|protected/text}}|default-reason}}}}'''<br /><span style="font-size:90%;">{{{note|{{{{tSwitch|protected/text}}|text2}} }}}</span></td> | <td>'''{{{{tSwitch|protected/text}}|text1}} {{#if:{{{1|}}}|{{{{tSwitch|protected/text}}|reason|reason={{{1}}}}}|{{{{tSwitch|protected/text}}|default-reason}}}}'''<br /><span style="font-size:90%;">{{{note|{{{{tSwitch|protected/text}}|text2}} }}}</span></td> | ||
</tr> | </tr> |
Revision as of 11:43, 5 September 2014
{{#switch:sysop
| sysop=
{{#ifeq:{{{icon}}}|no||
}}
{{#if:||{{#switch:Template|File=|User|User talk|Template=|}} }}
| autoconfirmed=
| #default=
{{#ifeq:Template|File | {{#switch:
| sysop=
{{#if:|| }}
| autoconfirmed=
| #default=
{{protected/text/{{#ifexist:Template:protected/text/⧼lang⧽|⧼lang⧽|en}}|error-text}}
{{#if:|| }}
}}
|
{{protected/text/{{#ifexist:Template:protected/text/⧼lang⧽|⧼lang⧽|en}}|error-text}}
{{#if:|| }}
}}
}} {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}