Template:Baseballstats/doc
This is a documentation subpage for Template:Baseballstats. It contains usage information, categories and other content that is not part of the original template page. |
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.