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
update a few categories with Wikipedia prefix
imported>Galahad
m 125 revisiones importadas: Importando desde Wikidata
 
(No se muestran 69 ediciones intermedias de 22 usuarios)
Línea 1: Línea 1:
<includeonly>{{pp-meta
{{#switch:{{{demo-edit|{{PROTECTIONLEVEL:edit}}}}}
|type=full
 
|small={{{small|}}}
| sysop=
|demospace={{{demospace|}}}
  {{#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>}}
|expiry={{{expiry|}}}
  <table class="protected" style="direction: {{dir|{{int:Lang}}}}; background:#fff; border:1px solid #aaa; padding:.2em; margin:.5em auto;">
|dispute=no
  <tr>
|reason={{#if:{{{reason|}}}|&#32;because {{lcfirst:{{{reason|}}}}}}}
  <td style="padding-right:4px; padding-left:4px;">[[File:Full-protection-shackle-block.svg|40px|link=COM:P|Protected]]</td>
|categories={{{categories|
  <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>
{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Wikipedia protected pages|{{PAGENAME}}]]}}
  </tr>
{{#ifeq:{{NAMESPACE}}|{{ns:14}}|[[Category:Wikipedia protected pages|{{PAGENAME}}]]}}
  </table>{{#if:{{{demo-edit|}}}{{{demo-upload|}}}||{{{category|{{#switch:{{NAMESPACE}}|{{ns:6}}=[[Category:Protected files]]|{{ns:2}}|{{ns:3}}|{{ns:10}}=|[[Category:Protected pages]]}} }}} }}
{{#ifeq:{{NAMESPACE}}|{{ns:100}}|[[Category:Wikipedia protected pages|{{PAGENAME}}]]}}
 
{{#ifeq:{{NAMESPACE}}|{{ns:4}}|[[Category:Protected project pages|{{PAGENAME}}]]}}
| templateeditor=
{{#ifeq:{{NAMESPACE}}|{{ns:12}}|[[Category:Protected project pages|{{PAGENAME}}]]}}
<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>
{{#ifeq:{{NAMESPACE}}|{{ns:6}}|[[Category:Protected images|{{PAGENAME}}]]}}
 
{{#ifeq:{{NAMESPACE}}|{{ns:2}}|[[Category:Wikipedia protected user and user talk pages|{{PAGENAME}}]]}}
| autoconfirmed=
{{#ifeq:{{NAMESPACE}}|{{ns:3}}|[[Category:Wikipedia protected user and user talk pages|{{PAGENAME}}]]}}
  <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>
{{#ifeq:{{NAMESPACE}}|{{ns:10}}|[[Category:Wikipedia protected templates|{{PAGENAME}}]]}}
 
{{talk other|{{#ifeq:{{NAMESPACE}}|{{ns:3}}||[[Category:Protected talk pages]]}}}}
| #default=
{{#ifexpr:{{#if:{{{expiry|}}}|{{#time:U|today}}>{{#time:U|{{{expiry}}}}}|0}}|[[Category:Wikipedia protected pages with expiry expired|{{PAGENAME}}]]}}}}}}}</includeonly><noinclude>
  {{#ifeq:{{NAMESPACE}}|{{{demo-ns|{{ns:6}}}}}
{{pp-protected|demospace=main|categories=no|reason=[[Lorem ipsum|Lorem ipsum dolor sit amet]]}}
  | {{#switch:{{{demo-upload|{{PROTECTIONLEVEL:upload}}}}}
 
{{pp-template|small=yes}}
    | sysop=
{{template doc}}
      <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]]}}} }}
<!-- Add categories and inter-wikis to the /doc subpage, not here! -->
 
    | 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]]}}} }}
  }}
}}<noinclude>
{{documentation}}
</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.