Template:Module rating: Difference between revisions

From escforumwiki
Jump to navigation Jump to search
en>Jackmcbarn
make the lock the right color for protected modules
en>Eyesnore
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 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 [[WP:PROTECT|protected]] from editing.<!--
   | 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|Invalid rating, or no rating specified.}}
   | #default                  = {{error|The rating is either invalid or not specified.}}
   }}
   }}
}}<noinclude>
}}<noinclude>

Revision as of 05:57, 6 April 2014