Template:Baseballstats
- Career statistics and player information from
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. Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here. |
Documentation
To use this template, copy and paste this text to a baseball player's other websites section:
{{Baseballstats |mlb= |espn= |br= |fangraphs= |cube= |brm=}}
Add the page ID's after the equals sign to properly direct the links that you desire to have. If you do not specify an ID, the site will not be shown. Example:
{{Baseballstats |mlb=455759 |espn=6514 |br=y/youngch04 |fangraphs=3882 |cube=Y/Chris-Young-1}}
To find a player's ID, find the player's page on a website and locate a string of numbers or letters in the URL similar to the ones above. That is the player's ID. See example at Josh Beckett.
- Backwards compatibility
This template is backwards compatible with {{Baseball-reference}}, so a parameter of "id" will direct the baseball-reference link. Do not use both "id" and "br" as it will create two links to baseball-reference. </includeo
The above documentation is transcluded from Template:Baseballstats/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |