Difference between revisions of "Module:Module rating/en"

From blackwiki
Jump to navigation Jump to search
(Updating to match new version of source page)
m (4 revisions imported)
 
(2 intermediate revisions by one other user not shown)
Line 33: Line 33:
 
       | {{#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 {{#if:{{CASCADINGSOURCES:{{FULLPAGENAME}}}}|cascading|page}} protection]]. It is a [[Wikipedia:High-risk templates|highly visible module]] in use by a very large number of pages, or is [[:en: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 [[:en:WP:PROTECT|protected]] from editing.<!--
+
   | protected | protect | p  = This module is [[:Category:Modules subject to page protection|subject to {{#if:{{CASCADINGSOURCES:{{FULLPAGENAME}}}}|cascading|page}} protection]]. It is a highly visible module in use by a very large number of pages. Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is [[Project:Protected page|protected]] from editing.<!--
 
   -->{{#switch: {{SUBPAGENAME}}|doc|sandbox=<!-- No category for /doc or /sandbox subpages -->
 
   -->{{#switch: {{SUBPAGENAME}}|doc|sandbox=<!-- No category for /doc or /sandbox 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}}]] }}
Line 41: Line 41:
 
}}|{{error|Error: {{tl|Module rating}} must be placed in the Module namespace.}}|demospace={{{demospace|<noinclude>module</noinclude>}}}}}
 
}}|{{error|Error: {{tl|Module rating}} must be placed in the Module namespace.}}|demospace={{{demospace|<noinclude>module</noinclude>}}}}}
 
| #default=
 
| #default=
   {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Module rating|noshift=1}}
+
   {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Module rating|noshift=1|uselang={{int:lang}}}}
 
}}<noinclude>
 
}}<noinclude>
  

Latest revision as of 08:16, 5 September 2020


Module documentation[create]