Difference between revisions of "Template:Protected"

From M3P
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:#fff; border:1px solid #aaa; padding:.2em; margin:.5em auto;">
   <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:Padlock.svg|40px|link=COM:P|Protected]]</td>
   <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||

img-text1}}

}}

Protected {{protected/text/{{#ifexist:Template:protected/text/⧼lang⧽|⧼lang⧽|en}}|text1}} {{#if:|{{protected/text/{{#ifexist:Template:protected/text/⧼lang⧽|⧼lang⧽|en}}|reason|reason={{{1}}}}}|{{protected/text/{{#ifexist:Template:protected/text/⧼lang⧽|⧼lang⧽|en}}|default-reason}}}}
{{protected/text/{{#ifexist:Template:protected/text/⧼lang⧽|⧼lang⧽|en}}|text2}}

{{#if:||{{#switch:Template|File=|User|User talk|Template=|}} }}

| autoconfirmed=

img-text2}}

| #default=

 {{#ifeq:Template|File
 | {{#switch:
   | sysop=
img-text3}}

{{#if:|| }}

   | autoconfirmed=
img-text4}}
   | #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}}}}}}