Template:Numdisplay: Difference between revisions
From IdleOn MMO Wiki
Kiokurashi (talk | contribs) No edit summary |
Kiokurashi (talk | contribs) (Changed to reflect the default formating in game.) |
||
Line 1: | Line 1: | ||
{{#ifeq:{{{1|}}}|Lots|{{{1}}}|{{#iferror: | {{#ifeq:{{{1|}}}|Lots|{{{1}}}|{{#iferror: | ||
{{ | |||
#ifexpr: | #ifexpr:(({{{1}}}) >= 1E+18)|{{#tip-text:{{formatnum:{{#expr:{{#expr:({{{1}}}) / 1E+18}} round 1}}}} QQ| <span class="text-only">{{formatnum:{{{1}}}}}</span> }}}}{{ | ||
#ifexpr:((({{{1}}}) >= 1E+15) and (({{{1}}}) < 1E+18))|{{#tip-text:{{formatnum:{{#expr:{{#expr:({{{1}}}) / 1E+15}} round 1}}}} Q| <span class="text-only">{{formatnum:{{{1}}}}}</span> }}}}{{ | #ifexpr:((({{{1}}}) >= 1E+15) and (({{{1}}}) < 1E+18))|{{#tip-text:{{formatnum:{{#expr:{{#expr:({{{1}}}) / 1E+15}} round 1}}}} Q| <span class="text-only">{{formatnum:{{{1}}}}}</span> }}}}{{ | ||
#ifexpr:((({{{1}}}) >= 1E+12) and (({{{1}}}) < 1E+15))|{{#tip-text:{{formatnum:{{#expr:{{#expr:({{{1}}}) / 1E+12}} round 1}}}} T| <span class="text-only">{{formatnum:{{{1}}}}}</span> }}}}{{ | #ifexpr:((({{{1}}}) >= 1E+12) and (({{{1}}}) < 1E+15))|{{#tip-text:{{formatnum:{{#expr:{{#expr:({{{1}}}) / 1E+12}} round 1}}}} T| <span class="text-only">{{formatnum:{{{1}}}}}</span> }}}}{{ |