Template:Module rating: Difference between revisions
Jump to navigation
Jump to search
make the lock the right color for protected modules |
reword, articles -> pages |
||
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 | | 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 pages, 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 [[WP:PROTECT|protected]] from editing.<!-- | ||
-->{{#ifeq: {{SUBPAGENAME}} | doc | -->{{#ifeq: {{SUBPAGENAME}} | doc | ||
| <!-- No category for /doc subpages --> | | <!-- No category for /doc subpages --> | ||
| {{#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| | | #default = {{error|The rating is either invalid or not specified.}} | ||
}} | }} | ||
}}<noinclude> | }}<noinclude> |
Revision as of 05:57, 6 April 2014
File:Information icon4.svg | Template:Error |
File:Test Template Info-Icon - Version (2).svg Template documentation[create]
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |