Template:Sports table: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
No edit summary
m (Test)
Line 12: Line 12:
!width=25{{!}}{{#if:{{{d_head|}}}|{{{d_head}}}|{{#if:{{{goals|}}}|GD|PD}}}}
!width=25{{!}}{{#if:{{{d_head|}}}|{{{d_head}}}|{{#if:{{{goals|}}}|GD|PD}}}}
!width=25|Pts
!width=25|Pts
{{#if:{{{qual|}}}|!width=200{{!}}Qualification|}}
{{#if:{{{qual|}}}|!width=200{{!}}Qualification|}}{{#ifexpr:{{{top|1}}}>1||<br>
|-{{#if:{{{{{{team1}}}_c|}}}|{{Sports table {{{{{{team1}}}_c}}}}}|}}{{#if:{{{{{{team1}}}_line|}}}|{{{{{{{{team1}}}_line}}} line}}|}}
{{!}}-{{#if:{{{{{{team1}}}_c|}}}|{{Sports table {{{{{{team1}}}_c}}}}}|}}{{#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}}}}} {{#if:{{{short|}}}|| {{!!}} {{{{{{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}}}}}}}}} || '''{{#if:{{{{{{team1}}}_neg|}}}| &minus;|}}{{#expr:{{#if:{{{{{{team1}}}_neg|}}}|-1*|}}(({{#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:{{{{{{team1}}}_adj|}}}|{{{{{{team1}}}_adj}}}|}}}})}}{{#if:{{{{{{team1}}}_adj|}}}|{{*}}|}}'''{{#if:{{{qual_1|}}}|{{!!}}{{#if:{{{qual_1c|}}}|{{Sports table {{{qual_1c}}}}}|}} {{#if:{{{qual_1l|}}}|{{{{{qual_1l}}} line}}|}} {{#if:{{{rows_1|}}}|rowspan={{{rows_1}}}|}}{{!}}{{{qual_1}}}|}}{{#if:{{{team2|}}}|<br>
{{!}} {{#expr:{{{{{{team1}}}_w}}}+{{#if:{{{ot|}}}|{{{{{{team1}}}_ow}}}+{{{{{{team1}}}_ol}}}|{{{{{{team1}}}_d}}}}}+{{{{{{team1}}}_l}}}}} {{#if:{{{short|}}}|| {{!!}} {{{{{{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}}}}}}}}} {{!!}} '''{{#if:{{{{{{team1}}}_neg|}}}| &minus;|}}{{#expr:{{#if:{{{{{{team1}}}_neg|}}}|-1*|}}(({{#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:{{{{{{team1}}}_adj|}}}|{{{{{{team1}}}_adj}}}|}}}})}}{{#if:{{{{{{team1}}}_adj|}}}|{{*}}|}}'''{{#if:{{{qual_1|}}}|{{!!}}{{#if:{{{qual_1c|}}}|{{Sports table {{{qual_1c}}}}}|}} {{#if:{{{qual_1l|}}}|{{{{{qual_1l}}} line}}|}} {{#if:{{{rows_1|}}}|rowspan={{{rows_1}}}|}}{{!}}{{{qual_1}}}|}}}}{{#ifexpr:{{{top|2}}}>2 or {{{bottom|2}}}<2||{{#if:{{{team2|}}}|<br>
{{!}}-{{#if:{{{{{{team2}}}_c|}}}|{{Sports table {{{{{{team2}}}_c}}}}}|}}{{#if:{{{{{{team2}}}_line|}}}|{{{{{{{{team2}}}_line}}} line}}|}}
{{!}}-{{#if:{{{{{{team2}}}_c|}}}|{{Sports table {{{{{{team2}}}_c}}}}}|}}{{#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}}}}} {{#if:{{{short|}}}|| {{!!}} {{{{{{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}}}}}}}}} {{!!}} '''{{#if:{{{{{{team2}}}_neg|}}}| &minus;|}}{{#expr:{{#if:{{{{{{team2}}}_neg|}}}|-1*|}}(({{#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:{{{{{{team2}}}_adj|}}}|{{{{{{team2}}}_adj}}}|}}}})}}{{#if:{{{{{{team2}}}_adj|}}}|{{*}}|}}'''{{#if:{{{qual_2|}}}|{{!!}}{{#if:{{{qual_2c|}}}|{{Sports table {{{qual_2c}}}}}|}} {{#if:{{{qual_2l|}}}|{{{{{qual_2l}}} line}}|}} {{#if:{{{rows_2|}}}|rowspan={{{rows_2}}}|}}{{!}}{{{qual_2}}}|}}|}}{{#if:{{{team3|}}}|<br>
{{!}} {{#expr:{{{{{{team2}}}_w}}}+{{#if:{{{ot|}}}|{{{{{{team2}}}_ow}}}+{{{{{{team2}}}_ol}}}|{{{{{{team2}}}_d}}}}}+{{{{{{team2}}}_l}}}}} {{#if:{{{short|}}}|| {{!!}} {{{{{{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}}}}}}}}} {{!!}} '''{{#if:{{{{{{team2}}}_neg|}}}| &minus;|}}{{#expr:{{#if:{{{{{{team2}}}_neg|}}}|-1*|}}(({{#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:{{{{{{team2}}}_adj|}}}|{{{{{{team2}}}_adj}}}|}}}})}}{{#if:{{{{{{team2}}}_adj|}}}|{{*}}|}}'''{{#if:{{{qual_2|}}}|{{!!}}{{#if:{{{qual_2c|}}}|{{Sports table {{{qual_2c}}}}}|}} {{#if:{{{qual_2l|}}}|{{{{{qual_2l}}} line}}|}} {{#if:{{{rows_2|}}}|rowspan={{{rows_2}}}|}}{{!}}{{{qual_2}}}|}}|}}}}{{#if:{{{team3|}}}|<br>
{{!}}-{{#if:{{{{{{team3}}}_c|}}}|{{Sports table {{{{{{team3}}}_c}}}}}|}}{{#if:{{{{{{team3}}}_line|}}}|{{{{{{{{team3}}}_line}}} line}}|}}
{{!}}-{{#if:{{{{{{team3}}}_c|}}}|{{Sports table {{{{{{team3}}}_c}}}}}|}}{{#if:{{{{{{team3}}}_line|}}}|{{{{{{{{team3}}}_line}}} line}}|}}
{{!}}align="left"{{!}}{{{{{{team3}}}_name}}}
{{!}}align="left"{{!}}{{{{{{team3}}}_name}}}

Revision as of 19:01, 7 February 2021

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 "{".