Template:NBA playerfile
NBA playerfile at NBA.com
Usage
changeFirst parameter is the player's name as it appears in the NBA.com url, e.g. lebron_james in http://www.nba.com/playerfile/lebron_james/.
Second parameter is the player's name as it should appear in the visible text of the link, e.g. "LeBron James".
Both parameters default to the article title. Additionally the first one is converted to lowercase and spaces are changed to underscores for use in the url.
If the player's name is unambiguous and contains no diacritics, no parameters need to be entered.
Examples
changeWhen used on the article LeBron James: | |
{{NBA playerfile}} | LeBron James at NBA.com |
When used on the article Žydrūnas Ilgauskas: | |
{{NBA playerfile|zydrunas_ilgauskas}} | Žydrūnas Ilgauskas at NBA.com |
When used on the article Joe Smith (basketball): | |
{{NBA playerfile|joe_smith|Joe Smith}} | Joe Smith at NBA.com |
To-do
change- support for coaches and "historical" pages (some retired players still have profiles in a different directory).
Related pages
change- {{Basketballstats}}, for links to multiple basketball statistics sites