Template:MLB Detailed Records

From blackwiki
Jump to navigation Jump to search

style="text-align:left"|

  1. REDIRECT Template:MLB Team season link || 0–0 || 0–0 || 0–0 || Template:Winpct || 0 || 0
Template documentation[view] [edit] [history] [purge]

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
  1. REDIRECT Template:MLB Team season link || 2–0 || 4–3 || 6–3 || Template:Winpct || 15 || 17

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