Template:Winning percentage
From Iwe
(Difference between revisions)
(Created page with '<includeonly>{{#ifexpr:{{#if:{{{1|}}}|{{{1}}}|0}}+{{#if:{{{2|}}}|{{{2}}}|0}}+{{#if:{{{3|}}}|{{{3}}}|0}}=0|–|{{#ifeq:{{#expr:({{{1}}}{{#if:{{{3|}}}|+({{{3}}}/2)}})/({{{1}}}+{{{2…') |
(Replaced content with '{{Winning percentage|<wins>|<losses>|<ties>}}') |
||
Line 1: | Line 1: | ||
- | + | {{Winning percentage|<wins>|<losses>|<ties>}} | |
- | + | ||
- | + |
Revision as of 21:59, 7 December 2014
{{#ifexpr:<wins>+<losses>{{#if:<ties>|+<ties>}}=0|—|{{#ifeq:{{#expr:(<wins>{{#if:<ties>|+(<ties>/2)}})/(<wins>+<losses>{{#if:<ties>|+<ties>}}) round 3}}|0|{{#ifeq:|y|0}}.000|{{#ifeq:{{#expr:(<wins>{{#if:<ties>|+(<ties>/2)}})/(<wins>+<losses>{{#if:<ties>|+<ties>}}) round 3}}|1|1.000|{{#ifeq:|y|0}}Template:Str right}}}}}}