Template:High-use/num: Difference between revisions
Jump to navigation
Jump to search
m 1 revision imported |
three significant digits for numbers > 100,000 |
||
Line 1: | Line 1: | ||
{{#iferror:{{#expr:0+{{{1}}}*1}}|{{#ifeq:{{{1|}}}|risk|a very large number of|many}}|{{#ifeq:{{{2|}}}|yes||approximately }}{{#ifeq:{{#expr:{{#invoke:String|len|{{{1}}}}} < | {{#iferror:{{#expr:0+{{{1}}}*1}}|{{#ifeq:{{{1|}}}|risk|a very large number of|many}}|{{#ifeq:{{{2|}}}|yes||approximately }}{{#ifeq:{{#expr:{{#invoke:String|len|{{{1}}}}} < 6}}|1|{{sigfig|{{{1}}}|2}}|{{sigfig|{{{1|}}}|3}}}}{{#ifeq:{{{2|}}}|yes|+}}{{#if:{{{all-pages|}}}| pages, which is ≈{{#expr:({{{1|}}}*100/{{NUMBEROFPAGES:R}}) round 0}}% of all}}}}<noinclude>{{Documentation|content= | ||
; Examples | ; Examples | ||
: {{#invoke:DemoTemplate|High-use/num|risk}} | : {{#invoke:DemoTemplate|High-use/num|risk}} |
Revision as of 12:46, 9 August 2019
many
Template documentation
- Examples
{{High-use/num|risk}}
→ a very large number of{{High-use/num|2450}}
→ approximately 2,500{{High-use/num|2549|yes}}
→ 2,500+{{High-use/num|2450|all-pages=yes}}
→ approximately 2,500 pages, which is ≈113% of all{{High-use/num|2549|yes|all-pages=yes}}
→ 2,500+ pages, which is ≈117% of all
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |