Template:High-use: Difference between revisions
Jump to navigation
Jump to search
w:en>Primefac (Wikipedia:Templates for discussion/Log/2018 May 5#Template:High-risk closed as merge (XFDcloser)) |
w:en>Galobtter (merge {{high-risk}}, copy from template:high-risk/sandbox, see its history for attribution (some code by Ppperry)) |
||
Line 1: | Line 1: | ||
{{Ombox | {{Ombox | ||
| type = style | | type = {{#ifeq:{{high-use/risk|{{{1|}}}}}|risk|content|style}} | ||
| image = [[File:Ambox warning yellow.svg|40px|alt=Warning|link=]] | | 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 [https://tools.wmflabs.org/templatecount/index.php?lang=en&namespace={{NAMESPACENUMBER:{{FULLPAGENAME}}}}&name={{urlencode:{{ | '''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:{{ | ||
Line 7: | Line 7: | ||
| doc | sandbox = {{BASEPAGENAME}} | | doc | sandbox = {{BASEPAGENAME}} | ||
| #default = {{PAGENAME}} | | #default = {{PAGENAME}} | ||
}}}} {{High-use/num|1={{formatnum:{{#ifeq:{{str endswith|{{{1}}}|+}}|yes|{{str crop|{{{1}}}|1}}|{{{1}}}}}|R}}}} pages]''', so changes to it will be widely noticed. Please test any changes in the {{#switch:{{NAMESPACE}}|Module=module's|#default=template's}} [[{{#switch: {{SUBPAGENAME}} | }}}} {{High-use/num|1={{formatnum:{{#ifeq:{{str endswith|{{{1}}}|+}}|yes|{{str crop|{{{1}}}|1}}|{{{1}}}}}|R}}}} 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 13: | Line 13: | ||
| doc | sandbox = {{SUBJECTSPACE}}:{{BASEPAGENAME}} | | doc | sandbox = {{SUBJECTSPACE}}:{{BASEPAGENAME}} | ||
| #default = {{SUBJECTPAGENAME}} | | #default = {{SUBJECTPAGENAME}} | ||
}}/testcases|/testcases]] subpages{{#switch:{{NAMESPACE}}|Module=.|#default=, or in your own [[Wikipedia:Subpages#How to create user subpages|user subpage]].}} Please consider discussing changes {{#if:{{{2|}}}|at [[{{{2}}}]]|on 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. }}Please consider discussing changes {{#if:{{{2|}}}|at [[{{{2}}}]]|on the [[{{#switch: {{SUBPAGENAME}} | ||
| doc | sandbox = {{TALKSPACE}}:{{BASEPAGENAME}} | | doc | sandbox = {{TALKSPACE}}:{{BASEPAGENAME}} | ||
| #default = {{TALKPAGENAME}} | | #default = {{TALKPAGENAME}} |
Revision as of 11:53, 12 October 2018
{{#invoke:Message box|ombox}} {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}