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
m rm linebreak in subtemplate
imported>Galahad
m 125 revisiones importadas: Importando desde Wikidata
 
(No se muestran 85 ediciones intermedias de 25 usuarios)
Línea 1: Línea 1:
<includeonly>{{pp-meta
{{#switch:{{{demo-edit|{{PROTECTIONLEVEL:edit}}}}}
|smalltext={{#ifeq:{{{small|no}}}|yes|<imagemap>
 
Image:Padlock.svg|20px
| sysop=
default [[Wikipedia:Protection policy|This page has been protected from editing]]
  {{#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>}}
desc none
  <table class="protected" style="direction: {{dir|{{int:Lang}}}}; background:#fff; border:1px solid #aaa; padding:.2em; margin:.5em auto;">
</imagemap>|}}
  <tr>
|demospace={{{demospace|}}}
  <td style="padding-right:4px; padding-left:4px;">[[File:Full-protection-shackle-block.svg|40px|link=COM:P|Protected]]</td>
|image=[[Image:Padlock.svg|45px| ]]
  <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>
|text='''This page is {{#if:{{{tprot|}}}|temporarily|currently}} [[Wikipedia:This page is protected|protected]] from editing{{#if:{{{expiry|}}}|&#32;until {{#time:[[F j]], [[Y]]|{{{expiry}}}}} <small>(UTC)</small>}}{{#if:{{{reason|}}}|&#32;because {{lcfirst:{{{reason|}}}}}}}.''' <span class="plainlinks">([{{fullurl:Special:Log|type=protect&page={{FULLPAGENAMEE}}}} protection log])</span>. {{howtoedit|break=}}
  </tr>
|categories={{{categories|[[Category:Protected|{{PAGENAME}}]]{{#ifexpr:{{#if:{{{expiry|}}}|{{#time:U|today}}>{{#time:U|{{{expiry}}}}}|0}}|[[Category:Protected pages with expiry expired|{{PAGENAME}}]]}}}}}}}</includeonly><noinclude>
  </table>{{#if:{{{demo-edit|}}}{{{demo-upload|}}}||{{{category|{{#switch:{{NAMESPACE}}|{{ns:6}}=[[Category:Protected files]]|{{ns:2}}|{{ns:3}}|{{ns:10}}=|[[Category:Protected pages]]}} }}} }}
{{pp-protected|demospace=main|categories=no|reason=[[Lorem ipsum|Lorem ipsum dolor sit amet]]}}
 
| templateeditor=
{{pp-template|small=yes}}
<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>
{{template doc}}
 
<!-- 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-text2}}]]</indicator>
 
| #default=
  {{#ifeq:{{NAMESPACE}}|{{{demo-ns|{{ns:6}}}}}
  | {{#switch:{{{demo-upload|{{PROTECTIONLEVEL:upload}}}}}
 
    | sysop=
      <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]]}}} }}
 
    | 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.