Template:High-use/num: Difference between revisions

From WormRP
Jump to navigation Jump to search
m Protected "Template:High-use/num": Highly visible template; 1,000+ transclusions ([Edit=Require autoconfirmed or confirmed access] (indefinite))
 
Keira (talk | contribs)
m 1 revision imported
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#iferror:{{#expr:0+{{{1}}}*1}}|many|approximately {{sigfig|{{{1}}}|2}}}}
{{#iferror:{{#expr:0+{{{1}}}*1}}|{{#ifeq:{{{1|}}}|risk|a very large number of|many}}|{{#ifeq:{{{2|}}}|yes||approximately&#x20;}}{{#ifeq:{{#expr:{{#invoke:String|len|{{{1}}}}} < 6}}|1|{{sigfig|{{{1}}}|2}}|{{sigfig|{{{1|}}}|3}}}}{{#ifeq:{{{2|}}}|yes|+}}{{#if:{{{all-pages|}}}|&#x20;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>

Latest revision as of 07:37, 29 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