Diferencia entre revisiones de «Plantilla:Module rating»

De Familia Sanchez Arjona
Saltar a: navegación, buscar
(detect cascading and titleblacklist protection)
m (27 revisiones importadas)
 
(No se muestran 3 ediciones intermedias de 2 usuarios)
Línea 6: Línea 6:
 
   | beta | b                  = [[File:Greek lc beta.svg|40x40px|link=]]
 
   | beta | b                  = [[File:Greek lc beta.svg|40x40px|link=]]
 
   | release | r | general | g = [[File:Green check.svg|40x40px|link=]]
 
   | release | r | general | g = [[File:Green check.svg|40x40px|link=]]
   | protected | protect | p  = [[File:Padlock-{{#switch:{{#invoke:Effective protection level|edit|{{#switch:{{SUBPAGENAME}}|doc|sandbox={{FULLBASEPAGENAME}}|{{FULLPAGENAME}}}}}}|autoconfirmed=silver|accountcreator|templateeditor=pink|red}}.svg|40x40px|link=]]
+
   | protected | protect | p  = [[File:Padlock{{#switch:{{#invoke:Effective protection level|edit|{{#switch:{{SUBPAGENAME}}|doc|sandbox={{FULLBASEPAGENAME}}|{{FULLPAGENAME}}}}}}|autoconfirmed=-silver|accountcreator|templateeditor=-pink|}}.svg|40x40px|link=]]
 
   }}
 
   }}
 
  | style    =  
 
  | style    =  
Línea 31: Línea 31:
 
       | {{#ifeq: {{{nocat|}}} | true | <!-- No category if user sets nocat=true --> | [[Category:Modules subject to page protection|{{PAGENAME}}]] }}
 
       | {{#ifeq: {{{nocat|}}} | true | <!-- No category if user sets nocat=true --> | [[Category:Modules subject to page protection|{{PAGENAME}}]] }}
 
       }}
 
       }}
   | #default                  = {{error|The rating is either invalid or not specified. Please remove the {{Tlx|Module rating}} template or specify a valid rating.}}
+
   | #default                  = {{error|Module rating is invalid or not specified.}}
 
   }}
 
   }}
}}|{{error|This template should be placed in the Module namespace.}}|demospace={{{demospace|<noinclude>module</noinclude>}}}}}<noinclude>
+
}}|{{error|Error: {{tl|Module rating}} must be placed the Module namespace.}}|demospace={{{demospace|<noinclude>module</noinclude>}}}}}<noinclude>
  
 
{{documentation}}
 
{{documentation}}
 
<!-- Categories go on the /doc subpage, and interwikis go in Wikidata. -->
 
<!-- Categories go on the /doc subpage, and interwikis go in Wikidata. -->
 
</noinclude>
 
</noinclude>

Revisión actual del 13:33 31 may 2016

50px Template documentation[create]