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
adding special categories for categories
Updating code to reflect update to {{pp-meta}} that makes some manual tricks unnecessary.
Línea 1: Línea 1:
<includeonly>{{#ifeq:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}}||[[Category:Wikipedia pages with incorrect protection templates|{{PAGENAME}}]]|
<includeonly>{{pp-meta
{{pp-meta
|type={{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}}
|type={{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}}
   |semi
   |semi
Línea 10: Línea 9:
|small={{{small|}}}
|small={{{small|}}}
|demospace={{{demospace|}}}
|demospace={{{demospace|}}}
|demolevel={{{demolevel|}}}
|expiry={{{expiry|}}}
|expiry={{{expiry|}}}
|dispute=no
|dispute=no
Línea 36: Línea 36:
   | {{ns:10}} = [[Category:Wikipedia protected templates|{{PAGENAME}}]]
   | {{ns:10}} = [[Category:Wikipedia protected templates|{{PAGENAME}}]]
   | {{ns:14}} = [[Category:Wikipedia protected categories|{{PAGENAME}}]]
   | {{ns:14}} = [[Category:Wikipedia protected categories|{{PAGENAME}}]]
   | #default = {{talk other|[[Category:Protected talk pages]]|[[Category:Wikipedia protected pages|{{PAGENAME}}]]}}}}}}{{#ifexpr:{{#if:{{{expiry|}}}|{{#time:U|today}}>{{#time:U|{{{expiry}}}}}|0}}|[[Category:Wikipedia protected pages with expiry expired|{{PAGENAME}}]]}}}}}}}}}</includeonly><noinclude>
   | #default = {{talk other|[[Category:Protected talk pages]]|[[Category:Wikipedia protected pages|{{PAGENAME}}]]}}}}}}{{#ifexpr:{{#if:{{{expiry|}}}|{{#time:U|today}}>{{#time:U|{{{expiry}}}}}|0}}|[[Category:Wikipedia protected pages with expiry expired|{{PAGENAME}}]]}}}}}}}</includeonly><noinclude>
{{pp-protected|demospace=main|categories=no|reason=[[Lorem ipsum|Lorem ipsum dolor sit amet]]}}
{{pp-protected|demospace=main|categories=no|reason=[[Lorem ipsum|Lorem ipsum dolor sit amet]]}}



Revisión del 15:14 28 feb 2009