قالب:IAAF name
{{{name}}} profile at IAAF
قالب:IAAF name displays an external link to an athlete's sports biography at the International Association of Athletics Federations website (www.IAAF.org). It is intended for use in the "External links" section of an athlete's article.
Usage
Unnamed parameters:
{{IAAF name|ID}}{{IAAF name|ID|NAME}}
Named parameters:
{{IAAF name|id=ID}}{{IAAF name|id=ID|name=NAME}}
TemplateData
IAAF name
This template displays an external link to an athlete's sports biography at the IAAF (International Association of Athletics Federations) website.
| وسيط | وصف | نوع | حالة | |
|---|---|---|---|---|
| ID | 1 id | ID portion of the URL for an athlete's IAAF web page. Example: 1622 is the ID portion of http://www.iaaf.org/athletes/biographies/athcode=1622 or http://www.iaaf.org/athletes/united-states/carl-lewis-1622
| نص | مطلوب |
| Name | 2 name | Name of athlete. If not given it defaults to the Wikipedia article name, without any disambiguation such as (athlete).
| نص | اختياري |
Examples
Unnamed parameters
Usage:
{{IAAF name | 1622 | Carl Lewis }}
Output:
- Carl Lewis profile at IAAF
URL (generated by template):
URL (redirected by IAAF website):
Named parameters
Usage:
{{IAAF name |id= 773 |name= Jonathan Edwards }}
Output:
- Jonathan Edwards profile at IAAF
URL (generated by template):
URL (redirected by IAAF website):
How to find athlete's IAAF page
Suppose you'd like to link to an IAAF bio page on Carl Lewis using this template. To do that, it is necessary to obtain the id parameter, which is encoded in the page URL. The procedure is simple:
1) Go to http://www.iaaf.org/athletes
2) Find the athlete using the web page navigation (name and/or country).
3) When you find Carl Lewis, his profile's URL will look something like this:
http://www.iaaf.org/athletes/united-states/carl-lewis-1622
The number at the end of the url is the athlete's id (in this case, 1622)
4) Edit the article and insert the following text (assuming you are adding the link to the External links section):
*{{IAAF name|1622}}
After saving the page, it is always a good idea to double check if the link you've created is correct by clicking on it.
Remarks
The IAAF database currently only covers athletes active from the 1980s to the present day; you won't find Emil Zatopek or Alberto Juantorena. Still, it is fairly comprehensive; all notable athletes are covered, along with many non-notable ones.
| The above documentation is transcluded from قالب:IAAF name/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. |