Difference between revisions of "Template:High-use"

From ChaldeanWiki
Jump to: navigation, search
m (1 revision imported)
(fix)
Line 1: Line 1:
 
{{Ombox
 
{{Ombox
| type  = style
+
| type  = {{#ifeq:{{high-use/risk|{{{1|}}}}}|risk|content|style}}
| image = [[File:Emblem-important-yellow.svg|40x40px]]
+
| image = {{#ifeq:{{high-use/risk|{{{1|}}}}}|risk|[[File:Ambox warning orange.svg|40px|alt=Warning|link=]]|[[File:Ambox warning yellow.svg|40px|alt=Warning|link=]]}}
 
| text  =  
 
| text  =  
'''This {{#switch:{{NAMESPACE}}|Module=Lua module|#default=template}} is used on [//tools.wmflabs.org/templatecount/index.php?lang=en&namespace={{NAMESPACENUMBER:{{FULLPAGENAME}}}}&name={{urlencode:{{PAGENAME}}}} {{#if:{{{1|}}}|{{{1}}}|many}} pages]''', so changes to it will be widely noticed. Please test any changes in the template's [[{{#switch: {{SUBPAGENAME}}
+
'''This {{#switch:{{NAMESPACE}}|Module=Lua module|#default=template}} is used on [https://tools.wmflabs.org/templatecount/index.php?lang=en&namespace={{NAMESPACENUMBER:{{FULLPAGENAME}}}}&name={{urlencode:{{
 +
#switch: {{SUBPAGENAME}}
 +
| doc | sandbox = {{BASEPAGENAME}}
 +
| #default      = {{PAGENAME}}
 +
}}}} {{High-use/num|1={{#ifeq:{{{1|}}}|risk|risk|{{formatnum:{{#invoke:String|match|{{{1|}}}|[%d,]+|plain=false}}|R}}}}|2 = {{str endswith|{{{1|}}}|+}}|all-pages={{{all-pages|}}}}} pages]'''{{#ifeq:{{high-use/risk|{{{1|}}}}}|risk|.{{#if:{{{info|}}}|<br />{{{info}}}}}<br /> To avoid large-scale disruption and unnecessary server load, any changes to it should first be tested |, so changes to it will be widely noticed. Please test any changes}} in the {{#switch:{{NAMESPACE}}|Module=module's|#default=template's}} [[{{#switch: {{SUBPAGENAME}}
 
     | doc | sandbox = {{SUBJECTSPACE}}:{{BASEPAGENAME}}
 
     | doc | sandbox = {{SUBJECTSPACE}}:{{BASEPAGENAME}}
 
     | #default =      {{SUBJECTPAGENAME}}
 
     | #default =      {{SUBJECTPAGENAME}}
Line 9: Line 13:
 
     | doc | sandbox = {{SUBJECTSPACE}}:{{BASEPAGENAME}}
 
     | doc | sandbox = {{SUBJECTSPACE}}:{{BASEPAGENAME}}
 
     | #default =      {{SUBJECTPAGENAME}}
 
     | #default =      {{SUBJECTPAGENAME}}
   }}/testcases|/testcases]] subpages, or in a [[Wikipedia:Subpages#How to create user subpages|user subpage]], and consider discussing changes at {{#if:{{{2|}}}|[[{{{2}}}]]|the [[{{#switch: {{SUBPAGENAME}}
+
   }}/testcases|/testcases]] subpages{{#switch:{{NAMESPACE}}|Module=.|#default=, or in your own [[Wikipedia:Subpages#How to create user subpages|user subpage]].}} {{#ifeq:{{high-use/risk|{{{1|}}}}}|risk|The tested changes can then be added to this page in a single edit.&#x20;}}Please consider discussing changes {{#if:{{{2|}}}|at [[{{{2}}}]]|on the [[{{#switch: {{SUBPAGENAME}}
 
     | doc | sandbox = {{TALKSPACE}}:{{BASEPAGENAME}}
 
     | doc | sandbox = {{TALKSPACE}}:{{BASEPAGENAME}}
 
     | #default =      {{TALKPAGENAME}}
 
     | #default =      {{TALKPAGENAME}}
 
   }}|talk page]]}} before implementing them.
 
   }}|talk page]]}} before implementing them.
 
}}<noinclude>
 
}}<noinclude>
 
 
{{Documentation}}
 
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
+
<!-- Add categories to the /doc subpage; interwiki links go to Wikidata, thank you! -->
 
</noinclude>
 
</noinclude>

Revision as of 09:42, 14 October 2018

Template documentation[create]