Template:Sports table: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 13: Line 13:
|-{{#ifeq:{{{{{{team1}}}_c}}}|green|bgcolor=#BBF3BB|}}{{#ifeq:{{{{{{team1}}}_c}}}|blue|bgcolor=#BBF3FF|}}{{#ifeq:{{{{{{team1}}}_c}}}|bronze|bgcolor=#FEDCBA|}}{{#ifeq:{{{{{{team1}}}_c}}}|red|bgcolor=#FFBBBB||}}{{#if:{{{{{{team1}}}_line|}}}|{{{{{{{{team1}}}_line}}} line}}|}}
|-{{#ifeq:{{{{{{team1}}}_c}}}|green|bgcolor=#BBF3BB|}}{{#ifeq:{{{{{{team1}}}_c}}}|blue|bgcolor=#BBF3FF|}}{{#ifeq:{{{{{{team1}}}_c}}}|bronze|bgcolor=#FEDCBA|}}{{#ifeq:{{{{{{team1}}}_c}}}|red|bgcolor=#FFBBBB||}}{{#if:{{{{{{team1}}}_line|}}}|{{{{{{{{team1}}}_line}}} line}}|}}
|align="left"|{{{{{{team1}}}_name}}}
|align="left"|{{{{{{team1}}}_name}}}
| {{#expr:{{{{{{team1}}}_w}}}+{{#if:{{{ot|}}}|{{{{{{team1}}}_ow}}}+{{{{{{team1}}}_ol}}}|{{{{{{team1}}}_d}}}}}+{{{{{{team1}}}_l}}}}} || {{{{{{team1}}}_w}}} || {{#if:{{{ot|}}}|{{{{{{team1}}}_ow}}} {{!!}} {{{{{{team1}}}_ol}}}|{{{{{{team1}}}_d}}}}} || {{{{{{team1}}}_l}}} || {{{{{{team1}}}_f}}} || {{{{{{team1}}}_a}}} || {{#ifexpr:{{{{{{team1}}}_f}}}>{{{{{{team1}}}_a}}}|+{{#expr:{{{{{{team1}}}_f}}}-{{{{{{team1}}}_a}}}}}|{{#ifexpr:{{{{{{team1}}}_a}}}={{{{{{team1}}}_f}}}|0|&minus;{{#expr:{{{{{{team1}}}_a}}}-{{{{{{team1}}}_f}}}}}}}}} || '''{{#expr:({{#if:{{{winpts|}}}|{{{winpts}}}|3}}*{{{{{{team1}}}_w}}})+{{#if:{{{ot|}}}|({{#if:{{{owpts|}}}|{{{owpts}}}|2}}*{{{{{{team1}}}_ow}}})+({{#if:{{{olpts|}}}|{{{olpts}}}|1}}*{{{{{{team1}}}_ol}}})|({{#if:{{{drawpts|}}}|{{{drawpts}}}|1}}*{{{{{{team1}}}_d}}})}}}}'''{{#if:{{{qual_1|}}}|{{!!}}{{#ifeq:{{{qual_1c}}}|green|bgcolor=#BBF3BB {{Green line}}|}}{{#ifeq:{{{qual_1c}}}|blue|bgcolor=#BBF3FF|}}{{#ifeq:{{{qual_1c}}}|bronze|bgcolor=#FEDCBA|}}{{#ifeq:{{{qual_1c}}}|red|bgcolor=#FFBBBB|}} {{#if:{{{rows_1|}}}|rowspan={{{rows_1}}}|}}{{!}}{{{qual_1}}}|}}{{#if:{{{team2|}}}|<br>
| {{#expr:{{{{{{team1}}}_w}}}+{{#if:{{{ot|}}}|{{{{{{team1}}}_ow}}}+{{{{{{team1}}}_ol}}}|{{{{{{team1}}}_d}}}}}+{{{{{{team1}}}_l}}}}} || {{{{{{team1}}}_w}}} || {{#if:{{{ot|}}}|{{{{{{team1}}}_ow}}} {{!!}} {{{{{{team1}}}_ol}}}|{{{{{{team1}}}_d}}}}} || {{{{{{team1}}}_l}}} || {{{{{{team1}}}_f}}} || {{{{{{team1}}}_a}}} || {{#ifexpr:{{{{{{team1}}}_f}}}>{{{{{{team1}}}_a}}}|+{{#expr:{{{{{{team1}}}_f}}}-{{{{{{team1}}}_a}}}}}|{{#ifexpr:{{{{{{team1}}}_a}}}={{{{{{team1}}}_f}}}|0|&minus;{{#expr:{{{{{{team1}}}_a}}}-{{{{{{team1}}}_f}}}}}}}}} || '''{{#expr:({{#if:{{{winpts|}}}|{{{winpts}}}|3}}*{{{{{{team1}}}_w}}})+{{#if:{{{ot|}}}|({{#if:{{{owpts|}}}|{{{owpts}}}|2}}*{{{{{{team1}}}_ow}}})+({{#if:{{{olpts|}}}|{{{olpts}}}|1}}*{{{{{{team1}}}_ol}}})|({{#if:{{{drawpts|}}}|{{{drawpts}}}|1}}*{{{{{{team1}}}_d}}})}}}}'''{{#if:{{{qual_1|}}}|{{!!}}{{#ifeq:{{{qual_1c}}}|green|bgcolor=#BBF3BB {{Green line}}|}}{{#ifeq:{{{qual_1c}}}|blue|bgcolor=#BBF3FF {{blue line}}|}}{{#ifeq:{{{qual_1c}}}|bronze|bgcolor=#FEDCBA {{yellow line}}|}}{{#ifeq:{{{qual_1c}}}|red|bgcolor=#FFBBBB {{red line1}}|}} {{#if:{{{rows_1|}}}|rowspan={{{rows_1}}}|}}{{!}}{{{qual_1}}}|}}{{#if:{{{team2|}}}|<br>
{{!}}-{{#ifeq:{{{{{{team2}}}_c}}}|green|bgcolor=#BBF3BB|}}{{#ifeq:{{{{{{team2}}}_c}}}|blue|bgcolor=#BBF3FF|}}{{#ifeq:{{{{{{team2}}}_c}}}|bronze|bgcolor=#FEDCBA|}}{{#ifeq:{{{{{{team2}}}_c}}}|red|bgcolor=#FFBBBB||}}{{#if:{{{{{{team2}}}_line|}}}|{{{{{{{{team2}}}_line}}} line}}|}}
{{!}}-{{#ifeq:{{{{{{team2}}}_c}}}|green|bgcolor=#BBF3BB|}}{{#ifeq:{{{{{{team2}}}_c}}}|blue|bgcolor=#BBF3FF|}}{{#ifeq:{{{{{{team2}}}_c}}}|bronze|bgcolor=#FEDCBA|}}{{#ifeq:{{{{{{team2}}}_c}}}|red|bgcolor=#FFBBBB||}}{{#if:{{{{{{team2}}}_line|}}}|{{{{{{{{team2}}}_line}}} line}}|}}
{{!}}align="left"{{!}}{{{{{{team2}}}_name}}}
{{!}}align="left"{{!}}{{{{{{team2}}}_name}}}
{{!}} {{#expr:{{{{{{team2}}}_w}}}+{{#if:{{{ot|}}}|{{{{{{team2}}}_ow}}}+{{{{{{team2}}}_ol}}}|{{{{{{team2}}}_d}}}}}+{{{{{{team2}}}_l}}}}} {{!!}} {{{{{{team2}}}_w}}} {{!!}} {{#if:{{{ot|}}}|{{{{{{team2}}}_ow}}} {{!!}} {{{{{{team2}}}_ol}}}|{{{{{{team2}}}_d}}}}} {{!!}} {{{{{{team2}}}_l}}} {{!!}} {{{{{{team2}}}_f}}} {{!!}} {{{{{{team2}}}_a}}} {{!!}} {{#ifexpr:{{{{{{team2}}}_f}}}>{{{{{{team2}}}_a}}}|+{{#expr:{{{{{{team2}}}_f}}}-{{{{{{team2}}}_a}}}}}|{{#ifexpr:{{{{{{team2}}}_a}}}={{{{{{team2}}}_f}}}|0|&minus;{{#expr:{{{{{{team2}}}_a}}}-{{{{{{team2}}}_f}}}}}}}}} {{!!}} '''{{#expr:({{#if:{{{winpts|}}}|{{{winpts}}}|3}}*{{{{{{team2}}}_w}}})+{{#if:{{{ot|}}}|({{#if:{{{owpts|}}}|{{{owpts}}}|2}}*{{{{{{team2}}}_ow}}})+({{#if:{{{olpts|}}}|{{{olpts}}}|1}}*{{{{{{team2}}}_ol}}})|+({{#if:{{{drawpts|}}}|{{{drawpts}}}|1}}*{{{{{{team2}}}_d}}})}}}}'''{{#if:{{{qual_2|}}}|{{!!}}{{#ifeq:{{{qual_2c}}}|green|bgcolor=#BBF3BB {{Green line}}|}}{{#ifeq:{{{qual_2c}}}|blue|bgcolor=#BBF3FF|}}{{#ifeq:{{{qual_2c}}}|bronze|bgcolor=#FEDCBA|}}{{#ifeq:{{{qual_2c}}}|red|bgcolor=#FFBBBB|}} {{#if:{{{rows_2|}}}|rowspan={{{rows_2}}}|}}{{!}}{{{qual_2}}}|}}|}}{{#if:{{{team3|}}}|<br>
{{!}} {{#expr:{{{{{{team2}}}_w}}}+{{#if:{{{ot|}}}|{{{{{{team2}}}_ow}}}+{{{{{{team2}}}_ol}}}|{{{{{{team2}}}_d}}}}}+{{{{{{team2}}}_l}}}}} {{!!}} {{{{{{team2}}}_w}}} {{!!}} {{#if:{{{ot|}}}|{{{{{{team2}}}_ow}}} {{!!}} {{{{{{team2}}}_ol}}}|{{{{{{team2}}}_d}}}}} {{!!}} {{{{{{team2}}}_l}}} {{!!}} {{{{{{team2}}}_f}}} {{!!}} {{{{{{team2}}}_a}}} {{!!}} {{#ifexpr:{{{{{{team2}}}_f}}}>{{{{{{team2}}}_a}}}|+{{#expr:{{{{{{team2}}}_f}}}-{{{{{{team2}}}_a}}}}}|{{#ifexpr:{{{{{{team2}}}_a}}}={{{{{{team2}}}_f}}}|0|&minus;{{#expr:{{{{{{team2}}}_a}}}-{{{{{{team2}}}_f}}}}}}}}} {{!!}} '''{{#expr:({{#if:{{{winpts|}}}|{{{winpts}}}|3}}*{{{{{{team2}}}_w}}})+{{#if:{{{ot|}}}|({{#if:{{{owpts|}}}|{{{owpts}}}|2}}*{{{{{{team2}}}_ow}}})+({{#if:{{{olpts|}}}|{{{olpts}}}|1}}*{{{{{{team2}}}_ol}}})|+({{#if:{{{drawpts|}}}|{{{drawpts}}}|1}}*{{{{{{team2}}}_d}}})}}}}'''{{#if:{{{qual_2|}}}|{{!!}}{{#ifeq:{{{qual_2c}}}|green|bgcolor=#BBF3BB {{Green line}}|}}{{#ifeq:{{{qual_2c}}}|blue|bgcolor=#BBF3FF {{blue line}}|}}{{#ifeq:{{{qual_2c}}}|bronze|bgcolor=#FEDCBA {{yellow line}}|}}{{#ifeq:{{{qual_2c}}}|red|bgcolor=#FFBBBB {{red line1}}|}} {{#if:{{{rows_2|}}}|rowspan={{{rows_2}}}|}}{{!}}{{{qual_2}}}|}}|}}{{#if:{{{team3|}}}|<br>
{{!}}-{{#ifeq:{{{{{{team3}}}_c}}}|green|bgcolor=#BBF3BB|}}{{#ifeq:{{{{{{team3}}}_c}}}|blue|bgcolor=#BBF3FF|}}{{#ifeq:{{{{{{team3}}}_c}}}|bronze|bgcolor=#FEDCBA|}}{{#ifeq:{{{{{{team3}}}_c}}}|red|bgcolor=#FFBBBB||}}{{#if:{{{{{{team3}}}_line|}}}|{{{{{{{{team3}}}_line}}} line}}|}}
{{!}}-{{#ifeq:{{{{{{team3}}}_c}}}|green|bgcolor=#BBF3BB|}}{{#ifeq:{{{{{{team3}}}_c}}}|blue|bgcolor=#BBF3FF|}}{{#ifeq:{{{{{{team3}}}_c}}}|bronze|bgcolor=#FEDCBA|}}{{#ifeq:{{{{{{team3}}}_c}}}|red|bgcolor=#FFBBBB||}}{{#if:{{{{{{team3}}}_line|}}}|{{{{{{{{team3}}}_line}}} line}}|}}
{{!}}align="left"{{!}}{{{{{{team3}}}_name}}}
{{!}}align="left"{{!}}{{{{{{team3}}}_name}}}

Revision as of 18:33, 25 March 2020

Team Pld W D L PF PA PD Pts
{{{{{{team1}}}_name}}} Expression error: Unrecognized punctuation character "{". {{{{{{team1}}}_w}}} {{{{{{team1}}}_d}}} {{{{{{team1}}}_l}}} {{{{{{team1}}}_f}}} {{{{{{team1}}}_a}}} Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{".