This is a documentation subpage for Template:MLB Schedule Entry. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
editThis template is the footer for a professional baseball schedule. It should be used in conjunction with the templates in the #See also section. See an example of a full schedule at .
Detail
edit{{MLB Schedule Entry
| number = game number
| w/l = w if the game was won, l if lost, t if tie, p if postponed, blank if game hasn't occurred yet; lowercase
| date = date of the game
| away = 'yes' if this is an away game
| opponent = the name of the opponent played
| score = final score of the game; use dash (–) instead of hypen
| extrainn = if the game went into extra innings (i.e. '11' or '12')
| winner = winning pitcher
| loser = losing pitcher
| save = pitcher with save
| attend = the attendance of the game; will not display by default (if blank) so for games not played, use "N/A"
| record = win-loss record of team; use dash (–) instead of hyphen
| box/streak = current W/L streak and the box score link
}}
Blank
edit{{MLB Schedule Entry
| number =
| date =
| w/l =
| away =
| opponent =
| score =
| extrainn =
| winner =
| loser =
| save =
| attend =
| record =
| box/streak =
}}
or
{{MLB Schedule Entry|number=|date=|w/l=|time=|away=|opponent=|score=|extrainn=|winner=|loser=|save=|attend=|record=}}
Examples
editThe appearance of these templates will be different when used appropriately with the header and footer templates in the #See also section. These examples are to describe different use options.
Example 1
edit{{MLB Schedule Entry
| number = 1
| date = April 2
| w/l = l
| away =
| opponent = [[Florida Marlins|Marlins]]
| score = 9–2
| extrainn =
| winner = [[Dontrelle Willis|Willis]] (1-0)
| loser = '''[[John Patterson (baseball)|Patterson]]''' (0-1)
| save =
| attend = 40,389
| record = 0–1
}}
{{MLB Schedule Entry
| number = 2
| date = April 4
| w/l = w
| away =
| opponent = [[Florida Marlins|Marlins]]
| score = 7–6
| extrainn =
| winner = '''[[Jon Rauch|Rauch]]''' (1-0)
| loser = [[Jorge Julio|Julio]] (0-1)
| save =
| attend = 18,835
| record = 1–1
}}
{{MLB Schedule Entry
| number = 3
| date = April 5
| w/l = l
| away = yes
| opponent = [[Atlanta Braves|Braves]]
| score = 8–0
| extrainn =
| winner = [[Tim Hudson|Hudson]] (1-0)
| loser = '''[[Matt Chico|Chico]]''' (0-1)
| save =
| attend = 18,396
| record = 1–2
}}
{{MLB Schedule Entry
| number = 4
| date = April 6
| w/l = w
| away = yes
| opponent = [[Atlanta Braves|Braves]]
| score = 2–0
| extrainn =
| winner = '''[[Jesús Colomé|Colomé]]''' (1-0)
| loser = [[John Smoltz|Smoltz]] (1-1)
| save = '''[[Chad Cordero|Cordero]]''' (1)
| attend = 23,897
| record = 2–2
}}
1 | April 2 | Marlins | 9–2 | Willis (1-0) | Patterson (0-1) | 40,389 | 0–1 | {{{box/streak}}} | |
2 | April 4 | Marlins | 7–6 | Rauch (1-0) | Julio (0-1) | 18,835 | 1–1 | {{{box/streak}}} | |
3 | April 5 | @ Braves | 8–0 | Hudson (1-0) | Chico (0-1) | 18,396 | 1–2 | {{{box/streak}}} | |
4 | April 6 | @ Braves | 2–0 | Colomé (1-0) | Smoltz (1-1) | Cordero (1) | 23,897 | 2–2 | {{{box/streak}}} |
See also
edit- {{MLB Schedule Start}}
- {{MLB Schedule End}}
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |