Template:NBA playerfile
NBA playerfile at NBA.com
Usage
First 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
When 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
- support for coaches and "historical" pages (some retired players still have profiles in a different directory).
Related pages
- {{Basketballstats}}, for links to multiple basketball statistics sites
The above documentation is transcluded from Template:NBA playerfile/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. |