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

From Dharmawiki
Jump to navigation Jump to search
Template>Galobtter
(fix)
 
m (1 revision imported)
 
(2 intermediate revisions by 2 users not shown)
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&#x20;}}{{sigfig|{{{1}}}|2}}{{#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 10:33, 11 February 2019

manyLua error in mw.lua at line 307: frame:expandTemplate: a title is required.