Difference between revisions of "Template:RankBar/Max2"

From eRepublik Official Wiki
Jump to: navigation, search
m
 
(3 intermediate revisions by one other user not shown)
Line 28: Line 28:
 
{{#ifexpr: {{{1}}} < 4000000000|4000000000|
 
{{#ifexpr: {{{1}}} < 4000000000|4000000000|
 
{{#ifexpr: {{{1}}} < 10000000000|10000000000|
 
{{#ifexpr: {{{1}}} < 10000000000|10000000000|
{{#ifexpr: {{{1}}} > 9999999999|{{{1}}}}}
+
{{#ifexpr: {{{1}}} < 20000000000|20000000000|
}} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} </includeonly>
+
{{#ifexpr: {{{1}}} < 30000000000|30000000000|
 +
{{#ifexpr: {{{1}}} < 40000000000|40000000000|
 +
{{#ifexpr: {{{1}}} < 50000000000|50000000000|
 +
{{#ifexpr: {{{1}}} < 60000000000|60000000000|
 +
{{#ifexpr: {{{1}}} < 70000000000|70000000000|
 +
{{#ifexpr: {{{1}}} < 80000000000|80000000000|
 +
{{#ifexpr: {{{1}}} < 90000000000|90000000000|
 +
{{#ifexpr: {{{1}}} > 99999999999|{{{1}}}}}
 +
}} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} </includeonly>
 
<noinclude>
 
<noinclude>
 
<pre>{{RankBar/Max2|3289765}}</pre>
 
<pre>{{RankBar/Max2|3289765}}</pre>

Latest revision as of 09:53, 20 October 2015


{{RankBar/Max2|3289765}}

Should return 35000000:

  • Return value: 3500000
{{RankBar/Max2|153100000}}

Should return the given value (10000000000 is the overall limit):

  • Return value: 200000000