Difference between revisions of "Template:ESEAGroupTableSlot"

From comp.tf
Jump to navigation Jump to search
m
m
Line 29: Line 29:
 
| {{#if: {{{team|}}}|{{{team}}}|{{Abbr|TBD|To Be Decided}} }}
 
| {{#if: {{{team|}}}|{{{team}}}|{{Abbr|TBD|To Be Decided}} }}
 
| class="centered" | {{#if: {{{win|}}}|{{{win}}}|}}
 
| class="centered" | {{#if: {{{win|}}}|{{{win}}}|}}
| class="centered" | {{#if: {{{lose|}}}|{{{lose}}}|}}<!--
+
| class="centered" | {{#if: {{{lose|}}}|{{{lose}}}|}}
-->{{#ifeq:{{#expr:{{{win|}}}+{{{lose|}}}}}|0|
+
|{{#ifeq:{{#expr:{{{win|}}}+{{{lose|}}}}}|0|
 
{{!}}&minus;
 
{{!}}&minus;
 
{{!}}&minus;
 
{{!}}&minus;
 
{{!}}&minus;
 
{{!}}&minus;
{{!}}&minus;
+
{{!}}&minus;|
}}
 
 
| class="centered" | {{#if: {{{pct|}}}|{{{pct|}}}|{{#ifeq:{{{win|}}}|0|.000|{{#ifeq:{{{lose|}}}|0|1.000|.{{#expr:{{{win|0}}}/({{{win|0}}}+{{{lose|0}}})*1000}}}}}}}}
 
| class="centered" | {{#if: {{{pct|}}}|{{{pct|}}}|{{#ifeq:{{{win|}}}|0|.000|{{#ifeq:{{{lose|}}}|0|1.000|.{{#expr:{{{win|0}}}/({{{win|0}}}+{{{lose|0}}})*1000}}}}}}}}
 
| class="centered" | {{#if: {{{rf|}}}|{{{rf}}}|}}
 
| class="centered" | {{#if: {{{rf|}}}|{{{rf}}}|}}
 
| class="centered" | {{#if: {{{ra|}}}|{{{ra}}}|}}
 
| class="centered" | {{#if: {{{ra|}}}|{{{ra}}}|}}
 
| class="centered" | {{#ifexpr:{{{rf}}}-{{{ra}}}>0|+{{#expr:{{{rf}}}-{{{ra}}}}}|{{#ifexpr:{{{rf}}}-{{{ra}}}=0|0|&minus;{{#expr:{{{ra}}}-{{{rf}}}}}}}}}
 
| class="centered" | {{#ifexpr:{{{rf}}}-{{{ra}}}>0|+{{#expr:{{{rf}}}-{{{ra}}}}}|{{#ifexpr:{{{rf}}}-{{{ra}}}=0|0|&minus;{{#expr:{{{ra}}}-{{{rf}}}}}}}}}
 +
}}
 
</includeonly><noinclude>{{documentation}}[[Category:Tournament Page Formatting Templates]][[Category:Templates]]</noinclude>
 
</includeonly><noinclude>{{documentation}}[[Category:Tournament Page Formatting Templates]][[Category:Templates]]</noinclude>

Revision as of 07:38, 3 June 2016