الگو:NBA playerfile/توضیحات

از ویکی‌پدیا، دانشنامهٔ آزاد

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 ویکی‌پدیا:ابهام‌زدایی and contains no diacritics, no parameters need to be entered.

Examples[ویرایش]

When used on the article لبران جیمز:
{{NBA player}} الگو:NBA player

When used on the article ژیدروناس ایلگاوسکاس:
{{NBA player|zydrunas_ilgauskas}} الگو:NBA player

When used on the article Joe Smith (basketball):
{{NBA player|joe_smith|Joe Smith}} الگو:NBA player

To-do[ویرایش]

  • support for coaches and "historical" pages (some retired players still have profiles in a different directory).

See also[ویرایش]