Template:Baseball statistics

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

Introduction[change source]

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

Example[change source]

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[change source]

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