Diferencia entre revisiones de «Plantilla:Module rating»

De Familia Sanchez Arjona
Saltar a: navegación, buscar
(reword, articles -> pages)
(add namespace detection, add more wording for unspecified rating)
Línea 1: Línea 1:
{{ombox
+
{{Module other|{{ombox
 
  | type      = notice
 
  | type      = notice
 
  | image    = {{#switch: {{{1|}}}
 
  | image    = {{#switch: {{{1|}}}
Línea 36: Línea 36:
 
       | {{#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.}}
+
   | #default                  = {{error|The rating is either invalid or not specified. Please remove the {{Tlx|Module rating}} template or specify a valid rating.}}
 
   }}
 
   }}
}}<noinclude>
+
}}|{{error|This template should be placed in 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 del 17:04 6 abr 2014

50px Template documentation[create]