Template:Sports table/Baseball: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
(Created page with "{| class="wikitable" style="text-align: center;" {{#if:{{{width|}}}|width={{{width}}}|width=80%}} |- !width=185|Team !width=25|GP !width=25|W !width=25|L {{#if:{{{ties|}}}|!wi...")
 
No edit summary
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}}} {{#if:{{{ties|}}}|{{!!}} {{{{{{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|&minus;{{#expr:{{{{{{team1}}}_a}}}-{{{{{{team1}}}_f}}}}}}}}} || '''&ndash;'''{{#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}}}+{{{{{{team1}}}_l}}}{{#if:{{{ties|}}}|+{{{{{{team1}}}_t}}}|}}}} || {{{{{{team1}}}_w}}} || {{{{{{team1}}}_l}}} {{#if:{{{ties|}}}|{{!!}} {{{{{{team1}}}_t}}}|}} || {{#iferror:{{#expr:({{{{{{team1}}}_w}}}+(0.5*{{{{{{team1}}}_t}}}))/({{{{{{team1}}}_w}}}+{{{{{{team1}}}_l}}}{{#if:{{{ties|}}}|+{{{{{{team1}}}_t}}}|}})}}|&ndash;|{{#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|&minus;{{#expr:{{{{{{team1}}}_a}}}-{{{{{{team1}}}_f}}}}}}}}} || '''&ndash;'''{{#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}}}

Revision as of 11:13, 29 March 2020

Team GP W L Pct. RF RA RD GB
{{{{{{team1}}}_name}}} Expression error: Unrecognized punctuation character "{". {{{{{{team1}}}_w}}} {{{{{{team1}}}_l}}} {{{{{{team1}}}_f}}} {{{{{{team1}}}_a}}} Expression error: Unrecognized punctuation character "{".