Template:MLB Detailed Records
Jump to navigation
Jump to search
style="text-align:left"|
- REDIRECT Template:MLB Team season link || 0–0 || 0–0 || 0–0 || Template:Winpct || 0 || 0
Contents
Usage
Use this template to easily create rows for detailed records on Major League Baseball team season pages.
Example
{| class="wikitable" style="font-size: 95%; text-align: center"
|-
! Opponent !! Home !! Away !! Total !! Pct. !! Runs scored !! Runs allowed
|-
| {{MLB Detailed Records|2020|CHC|2|0|4|3|15|17}}
|}
which produces:
| Opponent | Home | Away | Total | Pct. | Runs scored | Runs allowed |
|---|---|---|---|---|---|---|
|
Parameters
| Parameter | Required? | Usage |
|---|---|---|
1 (first parameter) |
Yes | Year |
2 (second parameter) |
Yes | MLB team abbreviation (For past teams, use full team name.) |
3 (third parameter) |
Yes | Wins against team at home (If they don't play the team at home set this parameter to 'x'.) |
4 (fourth parameter) |
Yes | Loses against team at home (If they don't play the team at home set this parameter to 'x'.) |
5 (fifth parameter) |
Yes | Wins against team at their stadium (If they don't play the team away set this parameter to 'x'.) |
6 (sixth parameter) |
Yes | Loses against team at their stadium (If they don't play the team away set this parameter to 'x'.) |
7 (seventh parameter) |
Yes | Runs scored |
8 (eighth parameter) |
Yes | Runs allowed |
See also
| The above documentation is transcluded from Template:MLB Detailed Records/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |