Difference between revisions of "Template:RankBar/Max2"

From eRepublik Official Wiki
Jump to: navigation, search
m
 
(5 intermediate revisions by 2 users not shown)
Line 27: Line 27:
 
{{#ifexpr: {{{1}}} < 2000000000|2000000000|
 
{{#ifexpr: {{{1}}} < 2000000000|2000000000|
 
{{#ifexpr: {{{1}}} < 4000000000|4000000000|
 
{{#ifexpr: {{{1}}} < 4000000000|4000000000|
{{#ifexpr: {{{1}}} < 10000000000|1000000000|
+
{{#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>
 
Should return 35000000:
 
Should return 35000000:
 
*Return value: {{RankBar/Max2|3289765}}
 
*Return value: {{RankBar/Max2|3289765}}
<pre>{{RankBar/Max2|53100000}}</pre>
+
<pre>{{RankBar/Max2|153100000}}</pre>
Should return the given value (50000000 is the overall limit):
+
Should return the given value (10000000000 is the overall limit):
*Return value: {{RankBar/Max2|53100000}}
+
*Return value: {{RankBar/Max2|153100000}}
 
</noinclude>
 
</noinclude>

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