Template:High-use/num: Difference between revisions
Jump to navigation
Jump to search
three significant digits for numbers > 10,000,000
m (1 revision imported) |
(three significant digits for numbers > 10,000,000) |
||
Line 1: | Line 1: | ||
{{#iferror:{{#expr:0+{{{1}}}*1}}|{{#ifeq:{{{1|}}}|risk|a very large number of|many}}|{{#ifeq:{{{2|}}}|yes||approximately }}{{sigfig|{{{1}}}|2}}{{#ifeq:{{{2|}}}|yes|+}}{{#if:{{{all-pages|}}}| pages, which is ≈{{#expr:({{{1|}}}*100/{{NUMBEROFPAGES:R}}) round 0}}% of all}}}} | {{#iferror:{{#expr:0+{{{1}}}*1}}|{{#ifeq:{{{1|}}}|risk|a very large number of|many}}|{{#ifeq:{{{2|}}}|yes||approximately }}{{#ifeq:{{#expr:{{#invoke:String|len|{{{1}}}}} < 8}}|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 | |||
: {{#invoke:DemoTemplate|High-use/num|risk}} | |||
: {{#invoke:DemoTemplate|High-use/num|2450}} | |||
: {{#invoke:DemoTemplate|High-use/num|2549|yes}} | |||
: {{#invoke:DemoTemplate|High-use/num|2450|all-pages=yes}} | |||
: {{#invoke:DemoTemplate|High-use/num|2549|yes|all-pages=yes}} | |||
}}</noinclude> |