Difference between revisions of "Template:ESEAGroupTableSlot"
Jump to navigation
Jump to search
m |
Onespaceman (talk | contribs) |
||
(16 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>|- | + | <includeonly>|-{{#if: {{{bg|}}}|style="background-color:{{#switch: {{{bg}}} |
|proceed | |proceed | ||
|up = rgb(204,255,204) | |up = rgb(204,255,204) | ||
− | | | + | |stayup = rgb(238,255,170) |
− | | | + | |stay = rgb(255,255,153) |
− | + | |staydown = rgb(255,221,170) | |
− | |||
− | | | ||
|drop | |drop | ||
− | |||
|down = rgb(255,204,204) | |down = rgb(255,204,204) | ||
|{{{bg}}} | |{{{bg}}} | ||
Line 26: | Line 23: | ||
|drop = rgb(238,187,187) | |drop = rgb(238,187,187) | ||
|{{{pbg}}} | |{{{pbg}}} | ||
− | }};|}}"|{{{ | + | }};|}}"|{{{place|X}}} |
| {{#if: {{{team|}}}|{{{team}}}|{{Abbr|TBD|To Be Decided}} }} | | {{#if: {{{team|}}}|{{{team}}}|{{Abbr|TBD|To Be Decided}} }} | ||
− | | class="centered" | | + | | class="centered" | {{#if: {{{win_m|}}}|{{{win_m}}}|}} |
− | | class="centered" | {{#if: {{{pct|}}}|{{{pct|}}} | + | | class="centered" | {{#if: {{{lose_m|}}}|{{{lose_m}}}|}} |
− | + | | class="centered" | {{#if: {{{pct|}}}|{{{pct|}}}|{{#ifeq:{{{win_m|}}}|0|.000|{{#ifeq:{{{lose_m|}}}|0|1.000|.{{#expr:{{{win_m|0}}}/({{{win_m|0}}}+{{{lose_m|0}}})*1000 round 0}}}}}}}} | |
− | | class="centered" | {{#if: {{{ | + | | class="centered" | {{#if: {{{win_r|}}}|{{{win_r}}}|}} |
− | | | + | | class="centered" | {{#if: {{{lose_r|}}}|{{{lose_r}}}|}} |
+ | | class="centered" | {{#ifexpr:{{{win_r}}}-{{{lose_r}}}>0|+{{#expr:{{{win_r}}}-{{{lose_r}}}}}|{{#ifexpr:{{{win_r}}}-{{{lose_r}}}=0|0|−{{#expr:{{{lose_r}}}-{{{win_r}}}}}}}}} | ||
</includeonly><noinclude>{{documentation}}[[Category:Tournament Page Formatting Templates]][[Category:Templates]]</noinclude> | </includeonly><noinclude>{{documentation}}[[Category:Tournament Page Formatting Templates]][[Category:Templates]]</noinclude> |