Template:Sports table/Baseball: Difference between revisions
From MicrasWiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 5: | Line 5: | ||
!width=25|W | !width=25|W | ||
!width=25|L | !width=25|L | ||
!width=25|T | |||
!width=25|Pct. | !width=25|Pct. | ||
!width=25|RF | !width=25|RF | ||
| Line 14: | Line 14: | ||
|-{{#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}}}+{{{{{{team1}}}_l}}}{{#if:{{{ties|}}}|+{{{{{{team1}}}_t}}}|}}}} || {{{{{{team1}}}_w}}} || {{{{{{team1}}}_l}}} | | {{#expr:{{{{{{team1}}}_w}}}+{{{{{{team1}}}_l}}}{{#if:{{{ties|}}}|+{{{{{{team1}}}_t}}}|}}}} || {{{{{{team1}}}_w}}} || {{{{{{team1}}}_l}}} || {{{{{{team1}}}_t}}} || {{#iferror:{{#expr:({{{{{{team1}}}_w}}}+(0.5*{{{{{{team1}}}_t}}}))/({{{{{{team1}}}_w}}}+{{{{{{team1}}}_l}}}+{{{{{{team1}}}_t}}})}}|–|{{#expr:({{{{{{team1}}}_w}}}+(0.5*{{{{{{team1}}}_t}}}))/({{{{{{team1}}}_w}}}+{{{{{{team1}}}_l}}}{{#if:{{{ties|}}}|+{{{{{{team1}}}_t}}}|}})}}}} || {{{{{{team1}}}_f}}} || {{{{{{team1}}}_a}}} || {{#ifexpr:{{{{{{team1}}}_f}}}>{{{{{{team1}}}_a}}}|+{{#expr:{{{{{{team1}}}_f}}}-{{{{{{team1}}}_a}}}}}|{{#ifexpr:{{{{{{team1}}}_a}}}={{{{{{team1}}}_f}}}|0|−{{#expr:{{{{{{team1}}}_a}}}-{{{{{{team1}}}_f}}}}}}}}} || '''–'''{{#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> | ||
{{!}}-{{#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}}}+{{{{{{team2}}}_l}}} | {{!}} {{#expr:{{{{{{team2}}}_w}}}+{{{{{{team2}}}_l}}}+{{{{{{team2}}}_t}}} {{!!}} {{{{{{team2}}}_w}}} {{!!}} {{{{{{team2}}}_l}}} {{!!}} {{{{{{team2}}}_t}}} {{!!}} {{#expr:({{{{{{team2}}}_w}}}+(0.5*{{{{{{team2}}}_t}}}))/({{{{{{team2}}}_w}}}+{{{{{{team2}}}_l}}}{{#if:{{{ties|}}}|+{{{{{{team2}}}_t}}}|}})}} {{!!}} {{{{{{team2}}}_f}}} {{!!}} {{{{{{team2}}}_a}}} {{!!}} {{#ifexpr:{{{{{{team2}}}_f}}}>{{{{{{team2}}}_a}}}|+{{#expr:{{{{{{team2}}}_f}}}-{{{{{{team2}}}_a}}}}}|{{#ifexpr:{{{{{{team2}}}_a}}}={{{{{{team2}}}_f}}}|0|−{{#expr:{{{{{{team2}}}_a}}}-{{{{{{team2}}}_f}}}}}}}}} {{!!}} '''({{{{{{team1}}}_w}}}{{#if:{{{ties|}}}|+(0.5*{{{{{{team1}}}_t}}})|}})-{{#expr:{{{{{{team2}}}_w}}}{{#if:{{{ties|}}}|+(0.5*{{{{{{team2}}}_t}}})|}}}}'''{{#if:{{{qual_2|}}}|{{!!}}{{#if:{{{qual_2c|}}}|{{Sports table {{{qual_2c}}}}}|}} {{#if:{{{qual_2l|}}}|{{{{{qual_2l}}} line}}|}} {{#if:{{{rows_2|}}}|rowspan={{{rows_2}}}|}}{{!}}{{{qual_2}}}|}}|}} | ||
<!-- | <!-- | ||
Revision as of 11:18, 29 March 2020
| Team | GP | W | L | T | Pct. | RF | RA | RD | GB |
|---|---|---|---|---|---|---|---|---|---|
| {{{{{{team1}}}_name}}} | Expression error: Unrecognized punctuation character "{". | {{{{{{team1}}}_w}}} | {{{{{{team1}}}_l}}} | {{{{{{team1}}}_t}}} | – | {{{{{{team1}}}_f}}} | {{{{{{team1}}}_a}}} | Expression error: Unrecognized punctuation character "{". | |
| {{{{{{team2}}}_name}}} | Expression error: Unrecognized punctuation character "{". |