Difference between revisions of "Template:High-use/text"

From Betting Wiki
Jump to navigation Jump to search
w>MSGJ
(move from template)
 
m (3 revisions imported)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
'''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:{{#switch:{{SUBPAGENAME}}
#switch: {{SUBPAGENAME}}
+
| doc | sandbox = {{BASEPAGENAME}}
| doc | sandbox = {{BASEPAGENAME}}
+
| #default      = {{PAGENAME}}
| #default      = {{PAGENAME}}
+
}}}} {{High-use/num
}}}} {{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}}
+
|1 = {{#ifeq:{{{1|}}}|risk|risk|{{formatnum:{{#invoke:String|match|{{{1|}}}|[%d,]+|plain=false}}|R}}
    | doc | sandbox = {{SUBJECTSPACE}}:{{BASEPAGENAME}}
+
}}
    | #default =      {{SUBJECTPAGENAME}}
+
|2 = {{str endswith|{{{1|}}}|+}}
  }}/sandbox|/sandbox]] or [[{{#switch: {{SUBPAGENAME}}
+
|all-pages = {{{all-pages|}}}
    | doc | sandbox = {{SUBJECTSPACE}}:{{BASEPAGENAME}}
+
}} 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}}
    | #default =      {{SUBJECTPAGENAME}}
+
| doc | sandbox = {{SUBJECTSPACE}}:{{BASEPAGENAME}}
  }}/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}}
+
| #default =      {{SUBJECTPAGENAME}}
    | doc | sandbox = {{TALKSPACE}}:{{BASEPAGENAME}}
+
}}/sandbox|/sandbox]] or [[{{#switch: {{SUBPAGENAME}}
    | #default =      {{TALKPAGENAME}}
+
| doc | sandbox = {{SUBJECTSPACE}}:{{BASEPAGENAME}}
  }}|talk page]]}} before implementing them.
+
| #default =      {{SUBJECTPAGENAME}}
 +
}}/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}}
 +
| #default =      {{TALKPAGENAME}}
 +
}}|talk page]]}} before implementing them.

Latest revision as of 00:38, 10 September 2019

This {{#switch:Template|Module=Lua module|#default=template}} is used on [https://tools.wmflabs.org/templatecount/index.php?lang=en&namespace=10&name=%7B%7B%23switch%3Atext%0A+%7C+doc+%7C+sandbox+%3D+High-use%0A+%7C+%23default++++++%3D+High-use%2Ftext%0A%7D%7D {{#iferror:{{#expr:0+{{#ifeq:|risk|risk|String Module Error: Target string is empty

}}*1}}|{{#ifeq:{{#ifeq:|risk|risk|String Module Error: Target string is empty
}}|risk|a very large number of|many}}|{{#ifeq:{{#ifeq:+|+||yes}}|yes||approximately }}{{#ifeq:{{#expr:142 < 6}}|1|{{#ifeq:{{#ifeq:|risk|risk|String Module Error: Target string is empty
}}|0
|0
|{{significant figures/{{#if:2
  |rnd
  |sum
 }}
 |1={{#ifeq:|risk|risk|String Module Error: Target string is empty
}}
 |2=2
 |3={{safesubst:#ifexpr:{{#ifeq:|risk|risk|String Module Error: Target string is empty
}}=0
  |{{safesubst:#ifexpr:abs{{#ifeq:|risk|risk|String Module Error: Target string is empty
}}1=1
     |0
     |{{safesubst:#expr:floor((ln(abs{{#ifeq:|risk|risk|String Module Error: Target string is empty
}}1)/ln10)+1)}}
   }}
  |{{#expr:floor((ln(abs({{#ifeq:|risk|risk|String Module Error: Target string is empty
}}) )/ln 10)+1E((abs{{#ifeq:|risk|risk|String Module Error: Target string is empty
}}>1E100 or abs{{#ifeq:|risk|risk|String Module Error: Target string is empty
}}<1E-100)-14))}}

}}

}}

}}|{{#ifeq:{{#ifeq:|risk|risk|String Module Error: Target string is empty

}}|0
|0
|{{significant figures/{{#if:3
  |rnd
  |sum
 }}
 |1={{#ifeq:|risk|risk|String Module Error: Target string is empty
}}
 |2=3
 |3={{safesubst:#ifexpr:{{#ifeq:|risk|risk|String Module Error: Target string is empty
}}=0
  |{{safesubst:#ifexpr:abs{{#ifeq:|risk|risk|String Module Error: Target string is empty
}}1=1
     |0
     |{{safesubst:#expr:floor((ln(abs{{#ifeq:|risk|risk|String Module Error: Target string is empty
}}1)/ln10)+1)}}
   }}
  |{{#expr:floor((ln(abs({{#ifeq:|risk|risk|String Module Error: Target string is empty
}}) )/ln 10)+1E((abs{{#ifeq:|risk|risk|String Module Error: Target string is empty
}}>1E100 or abs{{#ifeq:|risk|risk|String Module Error: Target string is empty
}}<1E-100)-14))}}

}}

}}

}}}}{{#ifeq:{{#ifeq:+|+||yes}}|yes|+}}{{#if:| pages, which is ≈{{#expr:({{#ifeq:|risk|risk|String Module Error: Target string is empty

}}*100/598) round 0}}% of all}}}} pages]{{#ifeq:{{#ifeq:|risk|risk|{{#ifexpr:String Module Error: Target string is empty>=100000|risk}}}}|risk|.{{#if:|
{{{info}}}}}
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:Template|Module=module's|#default=template's}} [[{{#switch: text
| doc | sandbox = Template:High-use | #default = Template:High-use/text

}}/sandbox|/sandbox]] or [[{{#switch: text

| doc | sandbox = Template:High-use
| #default =      Template:High-use/text

}}/testcases|/testcases]] subpages{{#switch:Template|Module=.|#default=, or in your own user subpage.}} {{#ifeq:{{#ifeq:|risk|risk|{{#ifexpr:String Module Error: Target string is empty>=100000|risk}}}}|risk|The tested changes can then be added to this page in a single edit. }}Please consider discussing changes {{#if:|at [[{{{2}}}]]|on the [[{{#switch: text

| doc | sandbox = Template talk:High-use
| #default =      Template talk:High-use/text

}}|talk page]]}} before implementing them.