Difference between revisions of "Template:MLB Schedule Entry/doc"
Jump to navigation
Jump to search
imported>Droll (clean up documentation subpage templates using AWB) |
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| Line 167: | Line 167: | ||
{{esoteric}} | {{esoteric}} | ||
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
<!-- ADD CATEGORIES BELOW THIS LINE --> | <!-- ADD CATEGORIES BELOW THIS LINE --> | ||
[[Category:Major League Baseball templates|{{PAGENAME}}]] | [[Category:Major League Baseball templates|{{PAGENAME}}]] | ||
| Line 173: | Line 173: | ||
<!-- ADD INTERWIKIS BELOW THIS LINE --> | <!-- ADD INTERWIKIS BELOW THIS LINE --> | ||
| − | </includeonly> | + | }}</includeonly> |
Revision as of 01:27, 26 April 2020
| 40px | This is a documentation subpage for Template:MLB Schedule Entry. It contains usage information, categories and other content that is not part of the original template page. |
Usage
This 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
{{MLB Schedule Entry
| number = game number
| w/l = w if the game was won, l if lost, 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
}}
Blank
{{MLB Schedule Entry
| number =
| date =
| w/l =
| away =
| opponent =
| score =
| extrainn =
| winner =
| loser =
| save =
| attend =
| record =
}}
or
{{MLB Schedule Entry|number=|date=|w/l=|time=|away=|opponent=|score=|extrainn=|winner=|loser=|save=|attend=|record=}}
Examples
The 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
{{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
- {{MLB Schedule Start}}
- {{MLB Schedule End}}
| 40x40px | 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. |