Difference between revisions of "Template:RankBar/Patch2"

From eRepublik Official Wiki
Jump to: navigation, search
(Created page with "<includeonly>{{#ifexpr: {{{1}}} < 800000|{{Rank|General}}| {{#ifexpr: {{{1}}} < 950000|{{Rank|General*}}| {{#ifexpr: {{{1}}} < 1140000|{{Rank|General**}}| {{#ifexpr: {{{1}}} < 13...")
 
m
Line 23: Line 23:
 
{{#ifexpr: {{{1}}} < 43000000|{{Rank|Legendary Force**}}|
 
{{#ifexpr: {{{1}}} < 43000000|{{Rank|Legendary Force**}}|
 
{{#ifexpr: {{{1}}} < 50000000|{{Rank|Legendary Force***}}|
 
{{#ifexpr: {{{1}}} < 50000000|{{Rank|Legendary Force***}}|
{{#ifexpr: {{{1}}} > 49999999|{{Rank|God of War}}|}}
+
{{#ifexpr: {{{1}}} < 100000000|{{Rank|God of War}}|
}} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }}</includeonly>
+
{{#ifexpr: {{{1}}} < 200000000|{{Rank|God of War*}}|
 +
{{#ifexpr: {{{1}}} < 500000000|{{Rank|God of War**}}|
 +
{{#ifexpr: {{{1}}} < 1000000000|{{Rank|God of War***}}|
 +
{{#ifexpr: {{{1}}} < 2000000000|{{Rank|Titan}}|
 +
{{#ifexpr: {{{1}}} < 4000000000|{{Rank|Titan*}}|
 +
{{#ifexpr: {{{1}}} < 10000000000|{{Rank|Titan**}}|
 +
{{#ifexpr: {{{1}}} > 9999999999|{{Rank|Titan***}}|}}
 +
}} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }}</includeonly>
 
<noinclude>
 
<noinclude>
 
<pre>{{RankBar/Patch2|3289765}}</pre>
 
<pre>{{RankBar/Patch2|3289765}}</pre>
 
Should return {{Rank|Supreme Marshal*}}:
 
Should return {{Rank|Supreme Marshal*}}:
 
*Return value: {{RankBar/Patch2|3289765}}
 
*Return value: {{RankBar/Patch2|3289765}}
<pre>{{RankBar/Patch2|100000000}}</pre>
+
<pre>{{RankBar/Patch2|50000000}}</pre>
 
Should return {{Rank|God of War}}:
 
Should return {{Rank|God of War}}:
*Return value: {{RankBar/Patch2|100000000}}
+
*Return value: {{RankBar/Patch2|249000000}}
 
</noinclude>
 
</noinclude>

Revision as of 04:40, 2 February 2014


{{RankBar/Patch2|3289765}}

Should return Icon rank Supreme Marshal*.png Supreme Marshal*:

{{RankBar/Patch2|50000000}}

Should return Icon rank God of War.png God of War: