Difference between revisions of "Template:Negro-league-stats"
(add option for baseball-reference.com) |
m (1 revision) |
(No difference)
|
Latest revision as of 04:06, 22 March 2014
- Negro league baseball statistics and player information from
Usage
This template provides an external link to Negro league and Cuban League baseball statistics available at Seamheads.com or at Baseball-Reference.com. To use this template, copy and paste this text to a baseball player's external links section:
{{Negro-league-stats |lg= |seam= |brn= }}
Parameters | Explanation |
---|---|
lg | "ne" if "Negro league baseball" (default if omitted); "cu" if "Cuban League"; "ne_cu" if "Negro league and Cuban League" |
seam | ID in url of player's Seamheads.com page |
brn | ID in url of player's Baseball-Reference.com Negro leagues page |
Example
{{Negro-league-stats |lg=ne_cu |seam=375 |brn=hill--001pet}}
will show:
- Negro league and Cuban League statistics and player information from Seamheads.com, or Baseball-Reference (Negro leagues)
which links to the Seamheads.com and Baseball-Reference.com pages of Pete Hill.
To find a player's ID, find the player's page on a website numbers or letters in the URL similar to the ones above. That is the player's ID.
See also
40x40px | 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. |
The above documentation is transcluded from Template:Negro-league-stats/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. |