Template:Module rating: Difference between revisions

add namespace detection, add more wording for unspecified rating
(reword, articles -> pages)
(add namespace detection, add more wording for unspecified rating)
Line 1:
{{Module other|{{ombox
| type = notice
| image = {{#switch: {{{1|}}}
Line 36:
| {{#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.}}
}}
}}|{{error|This template should be placed in the Module namespace.}}|demospace={{{demospace|<noinclude>module</noinclude>}}}}}<noinclude>
}}<noinclude>
 
{{documentation}}
Anonymous user