Menú alternativo
Menú alternativo personal
No has accedido
Tu dirección IP será visible si haces alguna edición

Diferencia entre revisiones de «Plantilla:Protected»

De Wikimedia Small Projects
Switch to doc subpage per talk request
imported>Galahad
m 125 revisiones importadas: Importando desde Wikidata
 
(No se muestran 87 ediciones intermedias de 25 usuarios)
Línea 1: Línea 1:
{{#ifeq:{{{small|}}}{{{expiry|ʁ}}}|yesʁ
{{#switch:{{{demo-edit|{{PROTECTIONLEVEL:edit}}}}}
|
 
<div style="position:absolute; z-index:100; right:25px; top:8px; height:10px; width:300px;"></div>
| sysop=
<div style="position:absolute; z-index:100; right:54px; top:8px;" class="metadata" id="administrator">
  {{#ifeq:{{{icon}}}|no||<indicator name="protected">[[File:Full-protection-shackle-block.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}}]]</indicator>}}
<imagemap>
  <table class="protected" style="direction: {{dir|{{int:Lang}}}}; background:#fff; border:1px solid #aaa; padding:.2em; margin:.5em auto;">
Image:Padlock.svg|20px
  <tr>
rect 0 0 1000 1000 [[Wikipedia:Protection policy|This page has been protected from editing]]
  <td style="padding-right:4px; padding-left:4px;">[[File:Full-protection-shackle-block.svg|40px|link=COM:P|Protected]]</td>
desc none
  <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>
</imagemap>
  </tr>
</div>
  </table>{{#if:{{{demo-edit|}}}{{{demo-upload|}}}||{{{category|{{#switch:{{NAMESPACE}}|{{ns:6}}=[[Category:Protected files]]|{{ns:2}}|{{ns:3}}|{{ns:10}}=|[[Category:Protected pages]]}} }}} }}
|
 
<table class="messagebox protected" style="border:2px solid #99B; padding:0px; font-size:0.9em;">
| templateeditor=
<tr>
<indicator name="protected">[[File:Template-protection-shackle-brackets 2.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}}]]</indicator>
<td valign="center" > [[Image:Padlock.svg|45px| ]]</td>
 
<td>
| autoconfirmed=
'''This page is {{#if:{{{tprot|}}}|temporarily|currently}} [[Wikipedia:This page is protected|protected]] from editing {{#if:{{{expiry|}}}|until {{#time:[[F j]], [[Y]]|{{{expiry}}}}} <small>(UTC)</small>}} {{#if:{{{reason<includeonly>|</includeonly>}}}|because {{lcfirst:{{{reason|<noinclude>[[Lorem ipsum|Lorem ipsum dolor sit amet]]</noinclude>}}}}}}}.''' <span class="plainlinks">([{{fullurl:Special:Log|type=protect&page={{FULLPAGENAMEE}}}} protection log])</span>. {{howtoedit}}
  <indicator name="protected">[[File:Semi-protection-shackle.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-text2}}]]</indicator>
</td>
 
</tr>
| #default=
</table>
  {{#ifeq:{{NAMESPACE}}|{{{demo-ns|{{ns:6}}}}}
}}<includeonly>[[Category:Protected|{{PAGENAME}}]]{{
  | {{#switch:{{{demo-upload|{{PROTECTIONLEVEL:upload}}}}}
#ifexpr:
 
   {{#if:{{{expiry|}}}
    | sysop=
    | {{#time:U|today}}>{{#time:U|{{{expiry}}}}}  
      <indicator name="protected">[[File:Upload-protection-shackle.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-text3}}]]</indicator>{{#if:{{{demo-edit|}}}{{{demo-upload|}}}||{{{category|[[Category:Upload protected files]]}}} }}
    | 0
 
    | autoconfirmed=
      <indicator name="protected">[[File:Semi-protection-shackle.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-text4}}]]</indicator>
 
    | #default=
      <div class="error">{{{{tSwitch|protected/text}}|error-text}}</div>{{#if:{{{demo-edit|}}}{{{demo-upload|}}}||{{{category|[[Category:Unprotected pages using protection templates]]}}} }}
    }}
   | <div class="error">{{{{tSwitch|protected/text}}|error-text}}</div>{{#if:{{{demo-edit|}}}{{{demo-upload|}}}||{{{category|[[Category:Unprotected pages using protection templates]]}}} }}
   }}
   }}
| [[Category:Protected pages with expiry expired|{{PAGENAME}}]]
}}<noinclude>
}}</includeonly><noinclude>
{{documentation}}
{{pp-template|small=yes}}
{{template doc}}
<!-- Add categories and inter-wikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Revisión actual - 06:11 29 jun 2020

[ver · editar · actualizar]
Documentación de plantilla
Aún no se han escrito las instrucciones sobre esta plantilla. Añádelas.