Template:Sports table/Baseball: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 17: Line 17:
{{!}}-{{#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}}}+{{{{{{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}}}+(0.5*{{{{{{team1}}}_t}}}))-{{#expr:{{{{{{team2}}}_w}}}+(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}}}|}}|}}
{{!}} {{#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}}}}}}}}} {{!!}} '''{{#expr:({{{{{{team1}}}_w}}}+(0.5*{{{{{{team1}}}_t}}}))-{{{{{{team2}}}_w}}}+(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:33, 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 "{".