Difference between revisions of "Template:Baseballbox"
Jump to navigation
Jump to search
imported>Mohsen1248 m (Extra innings added) |
imported>Bob305 (replaced hyphen with ndash to avoid a redirect with win–loss record (pitching)) |
||
| Line 7: | Line 7: | ||
| style=font-size:85% rowspan=4 valign=top | {{{stadium}}} {{#if: {{{attendance<includeonly>|</includeonly>}}} | <br>Attendance: {{{attendance}}} }} {{#if: {{{umpire<includeonly>|</includeonly>}}} | <br>Umpires: {{{umpire}}} }} | | style=font-size:85% rowspan=4 valign=top | {{{stadium}}} {{#if: {{{attendance<includeonly>|</includeonly>}}} | <br>Attendance: {{{attendance}}} }} {{#if: {{{umpire<includeonly>|</includeonly>}}} | <br>Umpires: {{{umpire}}} }} | ||
|- | |- | ||
| − | | style=font-size:85% align=right | {{#if: {{{team1wp<includeonly>|</includeonly>}}} | [[ | + | | style=font-size:85% align=right | {{#if: {{{team1wp<includeonly>|</includeonly>}}} | [[win–loss record (pitching)|WP]]: {{{team1wp}}} {{#if: {{{team1sp<includeonly>|</includeonly>}}} | <br>[[Save (baseball)|Sv]]: {{{team1sp}}} }} | {{#if: {{{team1lp|}}} | [[win–loss record (pitching)|LP]]: {{{team1lp}}} }} }} |
| rowspan=2 valign=bottom align=center | {{#if: {{{boxurl<includeonly>|</includeonly>}}} | [{{{boxurl|http://test.boxscore.com}}} Boxscore] }} | | rowspan=2 valign=bottom align=center | {{#if: {{{boxurl<includeonly>|</includeonly>}}} | [{{{boxurl|http://test.boxscore.com}}} Boxscore] }} | ||
| − | | style=font-size:85% | {{#if: {{{team2wp|}}} | [[ | + | | style=font-size:85% | {{#if: {{{team2wp|}}} | [[win–loss record (pitching)|WP]]: {{{team2wp}}} {{#if: {{{team2sp|}}} | <br>[[Save (baseball)|Sv]]: {{{team2sp}}} }} | {{#if: {{{team2lp<includeonly>|</includeonly>}}} | [[win–loss record (pitching)|LP]]: {{{team2lp}}} }} }} |
|- | |- | ||
{{#if: {{{team1hr<includeonly>|</includeonly>}}} {{{team2hr|}}} | | {{#if: {{{team1hr<includeonly>|</includeonly>}}} {{{team2hr|}}} | | ||
Revision as of 23:15, 5 August 2014
| {{{date}}} {{{time}}} {{{round}}} |
{{{team1}}} | {{{score}}} | {{{team2}}} | {{{stadium}}} Attendance: {{{attendance}}} Umpires: {{{umpire}}} |
| WP: {{{team1wp}}} Sv: {{{team1sp}}} |
Boxscore | LP: {{{team2lp}}} | ||
| HR: {{{team1hr}}} | HR: {{{team2hr}}} |
Usage
{{Baseballbox
|date =
|time =
|round =
|team1 =
|team1wp =
|team1lp =
|team1sp =
|team1hr =
|score =
|mercy rule =
|extra innings =
|boxurl =
|team2 =
|team2wp =
|team2lp =
|team2sp =
|team2hr =
|stadium =
|attendance =
|umpire =
}}
Example
{{Baseballbox
|date = March 6, 2009
|team1 = {{bb-rt|TPE}}
|score = 0 – 9
|boxurl = http://web.worldbaseballclassic.com/gameday/index.jsp?gid=2009_03_06_tpeint_korint_1
|team2 = '''{{bb|KOR}}'''
|stadium = [[Tokyo Dome]], [[Japan]]
|attendance = 12,704}}
will show:
| March 6, 2009 | Chinese Taipei |
0 – 9 | Tokyo Dome, Japan Attendance: 12,704 | |
| Boxscore |
See also
- {{Linescore}} - For showing expanded results for per inning scores.
| The above documentation is transcluded from Template:Baseballbox/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |