Template:High-use: Difference between revisions

better handling of +
(fix)
(better handling of +)
Line 7: Line 7:
| doc | sandbox = {{BASEPAGENAME}}
| doc | sandbox = {{BASEPAGENAME}}
| #default      = {{PAGENAME}}
| #default      = {{PAGENAME}}
}}}} {{High-use/num|1={{formatnum:{{#invoke:String|match|{{{1|}}}|[%d,]+|plain=false}}|R}}|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}}
}}}} {{High-use/num|1={{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}}
Anonymous user