Template:Baseballstats/doc

From Simple English Wikipedia, the free encyclopedia

Documentation[change source]

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.