Difference between revisions of "Template:Module rating"

Jump to navigation Jump to search
en>This, that and the other
(a nicer alpha with transparent background)
en>Christian75
(adding parameter transclusions - like template:High-risk)
Line 31: Line 31:
 
| {{#ifeq: {{{nocat|}}} | true | <!-- No category if user sets nocat=true --> | [[Category:Modules for general use|{{PAGENAME}}]] }}
 
| {{#ifeq: {{{nocat|}}} | true | <!-- No category if user sets nocat=true --> | [[Category:Modules for general use|{{PAGENAME}}]] }}
 
}}
 
}}
| protected | protect | p = This module is [[:Category:Modules subject to page protection|subject to page protection]]. It is a [[Wikipedia:High-risk templates|highly visible module]] in use by a very large number of articles, or is [[WP:SUBST|substituted]] very frequently. Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is is [[WP:PROTECT|protected]] from editing.<!--
+
| protected | protect | p = '''This module is used on {{#if:{{{transclusions|}}}|{{{transclusions|}}}+ pages|a very large number of pages}}.'''<br/>Therefore this modul is [[:Category:Modules subject to page protection|subject to page protection]]. It is a [[Wikipedia:High-risk templates|highly visible module]] in use by a very large number of articles. Because vandalism or mistakes would affect {{#if:{{{transclusions|}}}|{{{transclusions|}}} pages|many pages}}, and even trivial editing might cause substantial load on the servers, it is is [[WP:PROTECT|protected]] from editing.<!--
 
-->{{#ifeq: {{SUBPAGENAME}} | doc
 
-->{{#ifeq: {{SUBPAGENAME}} | doc
 
| <!-- No category for /doc subpages -->
 
| <!-- No category for /doc subpages -->

Revision as of 13:02, 9 September 2013

Template documentation[create]