Template:Baseball statistics

Documentation icon Template documentation[view] [edit] [history] [purge]

Introduction

This template tag is used to display tabular baseball statistics by using a template instead of a cluttered table.

Example

Example without citation

{{Baseball statistics|name=Mark Teixeria|update=September 1, 2006|g=588|ab=2100|r=360|h=630|2b=142|3b=11|hr=131|rbi=423|sb=11|ba=.281}}

produces
Mark Teixeria (Updated as of September 1, 2006)
Games AB R H 2B 3B HR RBI SB BA
Career 588 2100 360 630 142 11 131 423 11 .281
Example without citation (with additional references tag at the bottom of the page)

{{Baseball statistics|name=Mark Teixeria|update=September 1, 2006|g=588|ab=2100|r=360|h=630|2b=142|3b=11|hr=131|rbi=423|sb=11|ba=.281|cite=<ref name="espnstats">{{cite web | title = Mark Teixeria | work = Texas Rangers | publisher = ESPN.com | date = 2006-09-01 | url = http://sports.espn.go.com/mlb/players/profile?statsId=6788 | accessdate = 2006-09-02}}</ref>}}

==References==
<references/>

produces
Mark Teixeria (Updated as of September 1, 2006) [1]
Games AB R H 2B 3B HR RBI SB BA
Career 588 2100 360 630 142 11 131 423 11 .281

References

  1. "Mark Teixeria". Texas Rangers. ESPN.com. 2006-09-01. Retrieved 2006-09-02.