Difference between revisions of "Template:Baseballstats/doc"

From RaysBB
Jump to: navigation, search
(Created page with "<noinclude>{{Documentation subpage}}</noinclude> <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> === Usage === To use this template, copy and paste this...")
 
Line 11: Line 11:
 
<pre>{{Baseballstats |mlb=455759 |espn=6514/chris-young |br=y/youngch04 |fangraphs=3882 |cube=Chris-Young-1 |brm=young-001chr}}</pre>
 
<pre>{{Baseballstats |mlb=455759 |espn=6514/chris-young |br=y/youngch04 |fangraphs=3882 |cube=Chris-Young-1 |brm=young-001chr}}</pre>
  
To find a player's ID, find the player's page on a website and locate a string of numbers or letters in the [[Uniform Resource Locator|URL]] similar to the ones above. That is the player's ID. See example at [[Elliot Johnson]].
+
To find a player's ID, find the player's page on a website and locate a string of numbers or letters in the [[Wikipedia:Uniform Resource Locator|URL]] similar to the ones above. That is the player's ID. See example at [[Elliot Johnson]].
  
 
<includeonly>
 
<includeonly>

Revision as of 20:41, 11 May 2011


Usage

To use this template, copy and paste this text to a baseball player's external links 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/chris-young |br=y/youngch04 |fangraphs=3882 |cube=Chris-Young-1 |brm=young-001chr}}

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 Elliot Johnson.