Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  



1.1  Example  







2 Parameters  





3 Maintenance/tracking categories  














Template:Baseballstats






تۆرکجه
Deutsch
فارسی
Galego

Bahasa Indonesia
Italiano
Magyar



Português
Русский
Simple English
Slovenščina
Српски / srpski

Tiếng Vit

 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 

(Redirected from Template:Baseball-reference)

  • Baseball-Reference.com major league player ID (P1825) (see uses)
  • FanGraphs player ID (P3574) (see uses)
  • Baseball-Reference.com minor & foreign league player ID (P1826) (see uses)
  • Retrosheet person ID (P6976) (see uses)
  • Usage

    To use this template, copy and paste this text to a baseball player's external links section:

    {{Baseballstats |mlb= |espn= |br= |fangraphs= |brm= |retro=}}
    

    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

    Example for Chris Young (outfielder):

    {{Baseballstats |mlb= 455759 |espn= 6514 |br= y/youngch04 |fangraphs= 3882 |brm= young-001chr |retro= Y/Pyounc004 }}

    results in:

    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.

    Parameters

    Parameter Website Wikidata property† URL
    |mlb= MLB.com P3541 https://mlb.mlb.com/team/player.jsp?player_id={{{mlb}}}
    |espn= ESPN.com P3571 https://www.espn.com/mlb/player/stats/_/id/{{{espn}}}
    |br= Baseball-Reference.com P1825 https://www.baseball-reference.com/players/{{{br}}}.shtml
    |fangraphs= Fangraphs.com P3574 https://www.fangraphs.com/statss.aspx?playerid={{{fangraphs}}}
    |brm= Baseball-Reference.com (Minors) P1826 https://www.baseball-reference.com/minors/player.cgi?id={{{brm}}}
    |retro= Retrosheet.org P6976 https://www.retrosheet.org/boxesetc/{{retro}}.htm
    |nobullet=

    † This template does not currently use Wikidata properties.

    ‡ The |nobullet= parameter, when set to any value, prevents the rendering of the leading bullet. This makes the template appropriate for use in <ref>...</ref> tags.

    Maintenance/tracking categories


    Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Baseballstats&oldid=1231758769"

    Categories: 
    Lua-based templates
    Baseball external link templates
    People and person external link templates
    External link templates using Wikidata
    Templates using multiple Wikidata external identifiers
    Templates containing multiple external links
    Hidden categories: 
    Wikipedia template-protected templates
    Templates that add a tracking category
     



    This page was last edited on 30 June 2024, at 03:15 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki